Update a Wildfly / JBoss EAP 7 Installation from 7.19 to 7.20
The following steps describe how to update the Camunda artifacts on a Wildfly/JBoss EAP 7 in a shared process engine scenario. Throughout the procedure, refer to the update guide.
Reading this Guide
This guide uses a number of variables to denote common path names and constants:
$WILDFLY_HOMEpoints to the JBoss EAP/WildFly application server main directory.$WILDFLY_DISTRIBUTIONrepresents the downloaded pre-packaged Camunda 7 distribution for WildFly, e.g.camunda-bpm-wildfly-$PLATFORM_VERSION.ziporcamunda-bpm-wildfly-$PLATFORM_VERSION.tar.gz.$PLATFORM_VERSIONdenotes the version of Camunda 7 you want to install or already have installed, e.g.7.0.0.
If not already done, download the Camunda 7.20 WildFly distribution or Camunda 7.20 WildFly ≤26 Modules.
The update procedure takes the following steps:
- Update the Camunda 7 modules.
- Update optional Camunda 7 modules.
- Update Camunda web applications.
Whenever the instructions are to replace a module, delete the previous version of the module first to avoid orphan jars.
1. Update the Camunda 7 modules
Replace the following modules from the folder $WILDFLY_HOME/modules/ with the new versions from the folder $WILDFLY_DISTRIBUTION/modules/:
org/camunda/bpm/camunda-engineorg/camunda/bpm/wildfly/camunda-wildfly-subsystemorg/camunda/bpm/model/camunda-bpmn-modelorg/camunda/bpm/model/camunda-cmmn-modelorg/camunda/bpm/model/camunda-dmn-modelorg/camunda/bpm/model/camunda-xml-modelorg/camunda/bpm/dmn/camunda-engine-dmnorg/camunda/bpm/dmn/camunda-engine-feel-apiorg/camunda/bpm/dmn/camunda-engine-feel-juelorg/camunda/bpm/dmn/camunda-engine-feel-scalaorg/camunda/bpm/juel/camunda-juelorg/camunda/template-engines/camunda-template-engines-freemarkerorg/camunda/commons/camunda-commons-loggingorg/camunda/commons/camunda-commons-typed-valuesorg/camunda/commons/camunda-commons-utilsorg/camunda/connect/camunda-connect-coreorg/camunda/connect/camunda-connect-http-clientorg/camunda/connect/camunda-connect-soap-http-clientorg/camunda/feel/feel-engineorg/apache/httpcomponents/httpclientorg/apache/httpcomponents/httpcoreorg/freemarker/freemarkerorg/mybatis/mybatiscommons-codec/commons-codecorg/graalvm/js/jsorg/graalvm/js/js-scriptengineorg/graalvm/regex/regexorg/graalvm/sdk/graal-sdkorg/graalvm/truffle/truffle-apicom/ibm/icu/icu4j
2. Update optional Camunda 7 modules
In addition to the core modules, there may be optional artifacts in $WILDFLY_HOME/modules/ for LDAP integration, Camunda Connect, Camunda Spin, and Groovy scripting.
If you use any of these extensions, the following update steps apply:
LDAP integration
Replace the following module from the folder $WILDFLY_HOME/modules/ with its new version from the folder $WILDFLY_DISTRIBUTION/modules/, if present:
org/camunda/bpm/identity/camunda-identity-ldap
Camunda Connect plugin
Replace the following modules from the folder $WILDFLY_HOME/modules/ with the new versions from the folder $WILDFLY_DISTRIBUTION/modules/, if present:
org/camunda/bpm/camunda-engine-plugin-connect
Camunda Spin
Replace the following modules from the folder $WILDFLY_HOME/modules/ with the new versions from the folder $WILDFLY_DISTRIBUTION/modules/, if present:
org/camunda/spin/camunda-spin-coreorg/camunda/spin/camunda-spin-dataformat-json-jacksonorg/camunda/spin/camunda-spin-dataformat-xml-dom-jakarta- Heads-up: add this module only for WildFly 27+.
org/camunda/spin/camunda-spin-dataformat-xml-dom- Heads-up: add this module only for WildFly ≤26 / JBoss EAP 7.
org/camunda/bpm/camunda-engine-plugin-spin
Additionally, replace the following dependent modules:
com/fasterxml/jackson/core/jackson-annotationscom/fasterxml/jackson/core/jackson-corecom/fasterxml/jackson/core/jackson-databindcom/jayway/jsonpath/json-pathnet/minidev/accessors-smartnet/minidev/json-smart
Groovy
Replace the ‘org/codehaus/groovy/groovy-all’ module from the folder $WILDFLY_HOME/modules/ with the following
modules from the folder $WILDFLY_DISTRIBUTION/modules/, if present:
org/codehaus/groovy/groovy-allorg/codehaus/groovy/groovyorg/codehaus/groovy/groovy-jsr223org/codehaus/groovy/groovy-jsonorg/codehaus/groovy/groovy-xmlorg/codehaus/groovy/groovy-templates
3. Update Camunda web applications
Update REST API
The following steps are required to update the Camunda REST API on a JBoss/Wildfly instance:
- Undeploy an existing web application with a name like
camunda-engine-rest. - Download the REST API web application archive from our Maven Artifactory.
Alternatively, switch to the private repository for the enterprise version (credentials from license required).
- For WildFly 27+, the name of the artifact is
$PLATFORM_VERSION/camunda-engine-rest-jakarta-$PLATFORM_VERSION-wildfly.war. - For WildFly ≤26 / JBoss EAP 7, the name of the artifact is
$PLATFORM_VERSION/camunda-engine-rest-$PLATFORM_VERSION-wildfly.war.
- For WildFly 27+, the name of the artifact is
- Deploy the web application archive to your JBoss/WildFly instance.
Update Cockpit, Tasklist, and Admin
The following steps are required to update the Camunda web applications Cockpit, Tasklist, and Admin on a JBoss/WildFly instance:
- Un-deploy an existing web application with a name like
camunda-webapp. - Download the Camunda web application that contains the web applications from our Maven Artifactory.
Alternatively, switch to the private repository for the enterprise version (credentials from license required).
- For WildFly 27+, the name of the artifact is
$PLATFORM_VERSION/camunda-webapp-wildfly-$PLATFORM_VERSION.war. - For WildFly ≤26 / JBoss EAP 7, the name of the artifact is
$PLATFORM_VERSION/camunda-webapp-jboss-$PLATFORM_VERSION.war.
- For WildFly 27+, the name of the artifact is
- Deploy the web application archive to your JBoss/WildFly instance.