Update a Tomcat Installation from 2.2 to 3.0

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 3.0 Tomcat distribution.

The update procedure takes the following steps:

  1. Update the CIB seven core libraries.
  2. Update optional CIB seven libraries.
  3. 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.jar
  • cibseven-bpmn-model-$PLATFORM_VERSION.jar
  • cibseven-cmmn-model-$PLATFORM_VERSION.jar
  • cibseven-dmn-model-$PLATFORM_VERSION.jar
  • cibseven-xml-model-$PLATFORM_VERSION.jar
  • cibseven-engine-dmn-$PLATFORM_VERSION.jar
  • cibseven-engine-feel-api-$PLATFORM_VERSION.jar
  • cibseven-engine-feel-juel-$PLATFORM_VERSION.jar
  • cibseven-engine-feel-scala-$PLATFORM_VERSION.jar
  • cibseven-juel-$PLATFORM_VERSION.jar
  • cibseven-commons-logging-$PLATFORM_VERSION.jar
  • cibseven-commons-typed-values-$PLATFORM_VERSION.jar
  • cibseven-commons-utils-$PLATFORM_VERSION.jar
  • cibseven-connect-connectors-all-$PLATFORM_VERSION.jar
  • cibseven-connect-core-$PLATFORM_VERSION.jar
  • cibseven-template-engines-freemarker-$PLATFORM_VERSION.jar
  • feel-engine-$FEEL_ENGINE_VERSION-scala-shaded.jar
  • freemarker-$FREEMARKER_VERSION.jar
  • mybatis-$MYBATIS_VERSION.jar

In addition, copy these two libraries from $TOMCAT_DISTRIBUTION/lib/ to $TOMCAT_HOME/lib/. They are new in CIB seven 3.0, so there is nothing to replace:

  • jakarta.activation-api-$JAKARTA_ACTIVATION_VERSION.jar
  • angus-activation-$ANGUS_ACTIVATION_VERSION.jar

They provide the MIME type detection of file variables. Without them, every file variable gets the MIME type application/octet-stream, see Jakarta Activation and MIME types of file variables.

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.jar
  • cibseven-spin-core-$PLATFORM_VERSION.jar
  • cibseven-engine-plugin-spin-$PLATFORM_VERSION.jar

GraalVM JavaScript

The set of libraries has changed

CIB seven 3.0 ships GraalVM JavaScript 25.0.1 instead of the 21.3 line, see Java 25 and GraalJS 25. The runtime is split into more artifacts than before, so it is not enough to replace the jars that are already in $TOMCAT_HOME/lib/. Delete the old ones first and copy the complete new set; otherwise the first script execution fails with a NoClassDefFoundError.

First delete the GraalVM JavaScript libraries of the previous version from $TOMCAT_HOME/lib/:

  • graal-sdk-$OLD_GRAAL_VERSION.jar - no longer exists as a jar in GraalVM 25
  • js-$OLD_GRAAL_VERSION.jar - no longer exists as a jar in GraalVM 25, its content moved to js-language
  • js-scriptengine-$OLD_GRAAL_VERSION.jar
  • regex-$OLD_GRAAL_VERSION.jar
  • truffle-api-$OLD_GRAAL_VERSION.jar

Then copy the following libraries from $TOMCAT_DISTRIBUTION/lib to the folder $TOMCAT_HOME/lib/:

  • js-language-$GRAAL_VERSION.jar
  • js-scriptengine-$GRAAL_VERSION.jar
  • regex-$GRAAL_VERSION.jar
  • polyglot-$GRAAL_VERSION.jar
  • collections-$GRAAL_VERSION.jar
  • jniutils-$GRAAL_VERSION.jar
  • nativeimage-$GRAAL_VERSION.jar
  • word-$GRAAL_VERSION.jar
  • truffle-api-$GRAAL_VERSION.jar
  • truffle-compiler-$GRAAL_VERSION.jar
  • truffle-runtime-$GRAAL_VERSION.jar
  • icu4j-$GRAAL_VERSION.jar
  • xz-$GRAAL_VERSION.jar

Finally, keep the ICU4J library that scripts use through Java interop. It is unchanged, so replace it only if the version differs:

  • icu4j-$ICU4J_VERSION.jar

Two files named icu4j

icu4j-$GRAAL_VERSION.jar is GraalVM’s own shaded copy (org.graalvm.shadowed:icu4j), icu4j-$ICU4J_VERSION.jar is the public ICU4J library (com.ibm.icu:icu4j, version 71.1). Both belong in lib/, and neither replaces the other. See Java 25 and GraalJS 25.

Groovy

Copy these libraries from $TOMCAT_DISTRIBUTION/lib to the folder $TOMCAT_HOME/lib/, if present:

  • groovy-$GROOVY_VERSION.jar
  • groovy-jsr223-$GROOVY_VERSION.jar
  • groovy-json-$GROOVY_VERSION.jar
  • groovy-xml-$GROOVY_VERSION.jar
  • groovy-templates-$GROOVY_VERSION.jar
  • groovy-datetime-$GROOVY_VERSION.jar
  • groovy-dateutil-$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:

  1. Undeploy an existing web application with a name like engine-rest or cibseven-engine-rest.
  2. 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).
  3. Deploy the REST API web application archive to your Tomcat instance.

CIB seven webclient

The following steps are required to update the CIB seven webclient on a Tomcat instance:

  1. Undeploy an existing web application with a name like webapp or ‘cibseven-webclient-web’.
  2. Download the CIB seven webclient archive from our Artifact Repository. Alternatively, switch to the private repository for the enterprise version (credentials from license required).
  3. Deploy the webclient archive to your Tomcat instance.

On this Page: