Update a WildFly / JBoss EAP Installation from 2.1 to 2.2
The following steps describe how to update the CIB seven artifacts on a WildFly/JBoss EAP 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 CIB seven distribution for WildFly, e.g.cibseven-bpm-wildfly-$PLATFORM_VERSION.ziporcibseven-bpm-wildfly-$PLATFORM_VERSION.tar.gz.$PLATFORM_VERSIONdenotes the version of CIB seven you want to install or already have installed, e.g.2.2.0.
If not already done, download accordingly:
- For WildFly / JBoss EAP 8 - the CIB seven WildFly distribution.
The update procedure takes the following steps:
- Update the CIB seven modules.
- Update optional CIB seven modules.
- Update CIB seven webclient.
Whenever the instructions are to replace a module, delete the previous version of the module first to avoid orphan jars.
1. Update the CIB seven modules
Replace the following modules from the folder $WILDFLY_HOME/modules/ with the new versions from the folder $WILDFLY_DISTRIBUTION/modules/:
org/cibseven/bpm/cibseven-engineorg/cibseven/bpm/wildfly/cibseven-wildfly-subsystemorg/cibseven/bpm/model/cibseven-bpmn-modelorg/cibseven/bpm/model/cibseven-cmmn-modelorg/cibseven/bpm/model/cibseven-dmn-modelorg/cibseven/bpm/model/cibseven-xml-modelorg/cibseven/bpm/dmn/cibseven-engine-dmnorg/cibseven/bpm/dmn/cibseven-engine-feel-apiorg/cibseven/bpm/dmn/cibseven-engine-feel-juelorg/cibseven/bpm/dmn/cibseven-engine-feel-scalaorg/cibseven/bpm/juel/cibseven-juelorg/cibseven/template-engines/cibseven-template-engines-freemarkerorg/cibseven/commons/cibseven-commons-loggingorg/cibseven/commons/cibseven-commons-typed-valuesorg/cibseven/commons/cibseven-commons-utilsorg/cibseven/connect/cibseven-connect-coreorg/cibseven/connect/cibseven-connect-http-clientorg/cibseven/connect/cibseven-connect-soap-http-clientorg/camunda/feel/feel-engineorg/apache/httpcomponents/client5/httpclient5org/apache/httpcomponents/core5/httpcore5org/freemarker/freemarkerorg/mybatis/mybatisorg/graalvm/js/jsorg/graalvm/js/js-scriptengineorg/graalvm/regex/regexorg/graalvm/sdk/graal-sdkorg/graalvm/truffle/truffle-apicom/ibm/icu/icu4j
2. Update optional CIB seven modules
In addition to the core modules, there may be optional artifacts in $WILDFLY_HOME/modules/ for LDAP integration, CIB seven Connect, CIB seven Spin, Groovy and Graal 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/cibseven/bpm/identity/cibseven-identity-ldap
CIB seven 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/cibseven/bpm/cibseven-engine-plugin-connect
CIB seven Spin
Replace the following modules from the folder $WILDFLY_HOME/modules/ with the new versions from the folder $WILDFLY_DISTRIBUTION/modules/, if present:
org/cibseven/spin/cibseven-spin-coreorg/cibseven/spin/cibseven-spin-dataformat-json-jacksonorg/cibseven/spin/cibseven-spin-dataformat-xml-dom-jakarta- Heads-up: add this module only for WildFly / JBoss EAP 8.
org/cibseven/bpm/cibseven-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
GraalVM JavaScript
Replace the following modules from the folder $WILDFLY_HOME/modules/ with the following
modules from the folder $WILDFLY_DISTRIBUTION/modules/, if present:
com/ibm/icu/icu4jorg/graalvm/js/jsorg/graalvm/js/js-scriptengineorg/graalvm/regex/regexorg/graalvm/sdk/graal-sdkorg/graalvm/truffle/truffle-api
Groovy
Replace the following modules 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 CIB seven webclient
Update REST API
The following steps are required to update the CIB seven REST API on a JBoss/WildFly instance:
- Undeploy an existing web application with a name like
engine-restorcibseven-engine-rest. - Download the REST API web application archive from our Artifact Repository. Alternatively, switch to the private repository for the enterprise version (credentials from license required).
- Deploy the REST API web application archive to your JBoss/WildFly instance.
CIB seven webclient
The following steps are required to update the CIB seven webclient on a JBoss/WildFly instance:
- Un-deploy an existing web application with a name like
webappor ‘cibseven-webclient-web’. - Download the CIB seven webclient archive from our Artifact Repository. Alternatively, switch to the private repository for the enterprise version (credentials from license required).
- Deploy the webclient archive to your JBoss/WildFly instance.