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.
Part of the startup operation for the ActiveMatrix BPM application (amx.bpm.app) is to start Application Development, which in turn has to deploy custom client applications to its runtime repository. Waiting for Application Development startup to deploy these applications could result in a delay to amx.bpm.app startup. A
startDeploymentThread configuration parameter is provided, which allows you to separate startup of Application Development from startup of the ActiveMatrix BPM application.
Note: You can also disable the provisioning of the out-of-the-box Application Development applications to speed up the startup of the ActiveMatrix BPM application -- see
Disabling Provisioning of Application Development Applications.
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.
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
Copyright © Cloud Software Group, Inc. All rights reserved.