Update a Tomcat Installation from 2.0 to 2.1
The following steps describe how to update the CIB seven artifacts on a Tomcat server in a shared process engine setting.
Throughout the procedure, refer to the update guide. If not already done, download the CIB seven 2.1 Tomcat distribution.
The update procedure takes the following steps:
- Update the CIB seven core libraries.
- Update optional CIB seven libraries.
- Update web applications.
In each of the following steps, the identifier $*_VERSION refers to the current versions and the new versions of the artifacts.
1. Update the CIB seven core libraries
Replace the following libraries in the folder $TOMCAT_HOME/lib/ with the new versions from the folder $TOMCAT_DISTRIBUTION/lib/:
cibseven-engine-$PLATFORM_VERSION.jarcibseven-bpmn-model-$PLATFORM_VERSION.jarcibseven-cmmn-model-$PLATFORM_VERSION.jarcibseven-dmn-model-$PLATFORM_VERSION.jarcibseven-xml-model-$PLATFORM_VERSION.jarcibseven-engine-dmn-$PLATFORM_VERSION.jarcibseven-engine-feel-api-$PLATFORM_VERSION.jarcibseven-engine-feel-juel-$PLATFORM_VERSION.jarcibseven-engine-feel-scala-$PLATFORM_VERSION.jarcibseven-juel-$PLATFORM_VERSION.jarcibseven-commons-logging-$PLATFORM_VERSION.jarcibseven-commons-typed-values-$PLATFORM_VERSION.jarcibseven-commons-utils-$PLATFORM_VERSION.jarcibseven-connect-connectors-all-$PLATFORM_VERSION.jarcibseven-connect-core-$PLATFORM_VERSION.jarcibseven-template-engines-freemarker-$PLATFORM_VERSION.jarfeel-engine-$FEEL_ENGINE_VERSION-scala-shaded.jarfreemarker-$FREEMARKER_VERSION.jarmybatis-$MYBATIS_VERSION.jar
2. Update optional CIB seven libraries
In addition to the core libraries, there may be optional artifacts in $TOMCAT_HOME/lib/ for LDAP integration, CIB seven Connect, CIB seven Spin, and scripting. If you use any of these extensions, the following update steps apply:
LDAP integration
Copy the following library from $TOMCAT_DISTRIBUTION/lib to the folder $TOMCAT_HOME/lib/, if present:
cibseven-identity-ldap-$PLATFORM_VERSION.jar
CIB seven Connect plugin
Copy the following libraries from $TOMCAT_DISTRIBUTION/lib to the folder $TOMCAT_HOME/lib/, if present:
cibseven-engine-plugin-connect-$PLATFORM_VERSION.jar
CIB seven Spin
Copy the following libraries from $TOMCAT_DISTRIBUTION/lib to the folder $TOMCAT_HOME/lib/, if present:
cibseven-spin-dataformat-all-$PLATFORM_VERSION.jarcibseven-spin-core-$PLATFORM_VERSION.jarcibseven-engine-plugin-spin-$PLATFORM_VERSION.jar
GraalVM JavaScript
Copy the following libraries from $TOMCAT_DISTRIBUTION/lib to the folder $TOMCAT_HOME/lib/, if present:
graal-sdk-$GRAAL_VERSION.jaricu4j-$ICU4J_VERSION.jarjs-$GRAAL_VERSION.jarjs-scriptengine-$GRAAL_VERSION.jarregex-$GRAAL_VERSION.jartruffle-api-$GRAAL_VERSION.jar
Groovy
Copy these libraries from $TOMCAT_DISTRIBUTION/lib to the folder $TOMCAT_HOME/lib/, if present:
groovy-$GROOVY_VERSION.jargroovy-jsr223-$GROOVY_VERSION.jargroovy-json-$GROOVY_VERSION.jargroovy-xml-$GROOVY_VERSION.jargroovy-templates-$GROOVY_VERSION.jar
3. Update CIB seven webclient
Update REST API
The following steps are required to update the CIB seven REST API on a Tomcat instance:
- Undeploy an existing web application with a name like
cibseven-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).
- 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 Tomcat instance.
CIB seven webclient
The following steps are required to update the CIB seven webclient on a Tomcat instance:
- Undeploy an existing web application with a name like
camunda-webapp. - Download the Camunda web application archive from our Artifact Repository. Alternatively, switch to the private repository for the enterprise version (credentials from license required).
- Deploy the web application archive to your Tomcat instance.