- Uninstall the ASEE Flow Applications and Archives
- Replace ASEE Flow Core Libraries
- Replace Optional ASEE Flow Libraries
- Maintain the ASEE Flow Configuration
- Maintain Process Applications
- Install the ASEE Flow Archive
- Install the Web Applications
$*_VERSION refer to the current version and the new versions of the artifacts.
1. Uninstall the ASEE Flow Applications and Archives
First, uninstall the ASEE Flow web applications, namely the ASEE Flow REST API (artifact name likecamunda-engine-rest) and the ASEE Flow applications Cockpit, Tasklist and Admin (artifact name like camunda-webapp).
Uninstall the ASEE Flow EAR. Its name should be camunda-glassfish-ear-$PLATFORM_VERSION.ear. Then, uninstall the ASEE Flow job executor adapter, called camunda-jobexecutor-rar-$PLATFORM_VERSION.rar.
2. Replace ASEE Flow Core Libraries
After shutting down the server, replace the following libraries in$GLASSFISH_HOME/glassfish/lib with their equivalents from $GLASSFISH_DISTRIBUTION/modules/lib:
camunda-engine-$PLATFORM_VERSION.jarcamunda-bpmn-model-$PLATFORM_VERSION.jarcamunda-cmmn-model-$PLATFORM_VERSION.jarcamunda-dmn-model-$PLATFORM_VERSION.jarcamunda-xml-model-$PLATFORM_VERSION.jarcamunda-engine-dmn-$PLATFORM_VERSION.jarcamunda-engine-feel-api-$PLATFORM_VERSION.jarcamunda-engine-feel-juel-$PLATFORM_VERSION.jarcamunda-commons-logging-$COMMONS_VERSION.jarcamunda-commons-typed-values-$COMMONS_VERSION.jarcamunda-commons-utils-$COMMONS_VERSION.jar
3. Replace Optional ASEE Flow Dependencies
In addition to the core libraries, there may be optional artifacts in$GLASSFISH_HOME/glassfish/lib for LDAP integration, ASEE Flow Spin, and Groovy scripting. If you use any of these extensions, the following update steps apply:
LDAP integration
Copy the following library from$GLASSFISH_DISTRIBUTION/modules/lib to the folder $GLASSFISH_HOME/glassfish/lib, if present:
camunda-identity-ldap-$PLATFORM_VERSION.jar
ASEE Flow Connect
Copy the following library from$GLASSFISH_DISTRIBUTION/modules/lib to the folder $GLASSFISH_HOME/glassfish/lib, if present:
camunda-connect-core-$CONNECT_VERSION.jar
ASEE Flow Spin
Copy the following library from$GLASSFISH_DISTRIBUTION/modules/lib to the folder $GLASSFISH_HOME/glassfish/lib, if present:
camunda-spin-core-$SPIN_VERSION.jar
Groovy Scripting
Copy the following library from$GLASSFISH_DISTRIBUTION/modules/lib to the folder $GLASSFISH_HOME/glassfish/lib, if present:
groovy-all-$GROOVY_VERSION.jar
4. Maintain the ASEE Flow Configuration
If you have previously replaced the default ASEE Flow configuration with a custom configuration following any of the ways outlined in the deployment descriptor reference, it may be necessary to restore this configuration. This can be done by repeating the configuration replacement steps for the updated platform.5. Maintain Process Applications
This section describes changes in the internal API of the engine. If you have implemented one of the APIs and replaced the default implementation then you have to adjust your custom implementation. Otherwise, you can skip this section.Incident Handler
The interface of an Incident Handler has changed. Instead of a long parameter list, the methods pass a context object which bundles all required information, like process definition id, execution id and tenant id. Since the existing methods have been overridden, custom implementations of an incident handler have to be adjusted.Correlation Handler
A new method has been added to the interface of a Correlation Handler. The new methodcorrelateStartMessage() allows to explicitly trigger a message start event of a process definition. If the default implementation is replaced by a custom one then it has to be adjusted.
Job Handler
The interface of a Job Handler has changed to support multi-tenancy and separate the parsing of the configuration.6. Install the ASEE Flow Archive
First, install the ASEE Flow job executor resource adapter, namely the file$GLASSFISH_DISTRIBUTION/modules/camunda-jobexecutor-rar-$PLATFORM_VERSION.rar. Then install the ASEE Flow EAR, i.e., the file $GLASSFISH_DISTRIBUTION/modules/camunda-glassfish-ear-$PLATFORM_VERSION.ear.
7. Install the Web Applications
REST API
The following steps are required to update the ASEE Flow REST API on a Glassfish instance:- Download the REST API web application archive from our Artifact Repository. Alternatively, switch to the private repository for the enterprise version (User and password from license required). Choose the correct version named
$PLATFORM_VERSION/camunda-engine-rest-$PLATFORM_VERSION.war. - Deploy the web application archive to your Glassfish instance.
Cockpit, Tasklist, and Admin
The following steps are required to update the ASEE Flow web applications Cockpit, Tasklist, and Admin on a Glassfish instance:- Download the ASEE Flow web application archive from our Artifact Repository. Alternatively, switch to the private repository for the enterprise version (User and password from license required). Choose the correct version named
$PLATFORM_VERSION/camunda-webapp-glassfish-$PLATFORM_VERSION.war. - Deploy the web application archive to your Glassfish instance.