Configuring how Application Development Starts with ActiveMatrix BPM
A
startDeploymentThread configuration parameter is provided, which allows you to separate startup of Application Development from startup of the ActiveMatrix BPM application.
startDeploymentThread configuration parameter is provided, which allows you to separate startup of Application Development from startup of the ActiveMatrix BPM application.
If:
startDeploymentThread=true: Application Development uses a separate processing thread to deploy custom client applications. The ActiveMatrix BPM application can complete its startup without having to wait for custom client applications to finish deploying. This is the default option.startDeploymentThread=false: Application Development startup uses the same thread as the ActiveMatrix BPM application. The ActiveMatrix BPM application cannot complete its startup until all custom client applications have finished deploying. You should set this option if you need custom client applications to be available as soon as amx.bpm.app starts up.Note: IfstartDeploymentThreadis set to a value other thantrueorfalse, the property value is treated asfalse(which is not the normal default value).
When
startDeploymentThread=true, a series of messages are written to the BPM log file, showing the thread starting, deploying applications, and completing. For example:
[ComponentFrameworkDelegate] [INFO ] stdout - 17:01:54.331 INFO [ComponentFrameworkDelegate] c.t.r.c.RepositoryComponent : Reading properties from appDev.properties [ComponentFrameworkDelegate] [INFO ] stdout - 17:02:14.838 INFO [ComponentFrameworkDelegate] c.t.c.p.c.AppProvisionerService : App Provisioner starting thread . . [Thread-2744] [INFO ] stdout - 17:02:14.874 INFO [Thread-2744] c.t.c.p.c. AppProvisioner : Already installed: apps/app-cdn.app.zip . . [Thread-2744] [INFO ] stdout - 17:02:14.875 INFO [Thread-2744] c.t.c.p.c. AppProvisioner : STARTUP COMPLETED
If a user tries to access Application Development before the thread has completed, a message indicating that it is still starting is displayed. The login page displays once the thread has completed.
In ActiveMatrix Administrator, the amx.bpm.app Status changes to RUNNING before the thread completes.
When upgrading, the value of the
startDeploymentThread is respected.
- Procedure
- Open the appDev.properties file in the CONFIG_HOME\bpm\bpm_app_name\configuration folder.
- Set the
startDeploymentThreadvalue totrueorfalse, as you require. - Save the file.