Update from 2.1 to 2.2

This document guides you through the update from CIB seven 2.1.x to 2.2.0 and covers the following use cases:

  1. For administrators and developers: Database updates
  2. For administrators and developers: Full distribution update
  3. For administrators and developers: Docker Base Image Update
  4. For administrators and developers: Docker Java 21 Only
  5. For administrators: OpenTelemetry and JMX metrics
  6. For administrators and developers: Spring Boot 4 Support
  7. For administrators and developers: Update to Tomcat 11
  8. For administrators and developers: Update to WildFly 40
  9. For administrators and developers: End of Java 11 support
  10. For administrators and developers: GraalVM JavaScript Dependency
  11. For administrators and developers: AI Agent Connector
  12. For administrators and developers: CIB seven Modeler
  13. For administrators: JWT secret configuration
  14. For administrators: Multi-engine support
  15. For administrators: License key location
  16. For administrators: HTTPS for licensed EE features
  17. For administrators: Keycloak User provider renaming
  18. For administrators: Direct Provider
  19. For administrators: SCIM2 Identity Provider
  20. For administrators: New Configuration Options

This guide covers mandatory migration steps and optional considerations for the initial configuration of new functionality included in CIB seven 2.2.

Database updates

Every CIB seven installation requires a database schema update. Check our database schema update guide for further instructions.

Note: For rolling update SQL scripts, the file name versioning has been switched from Camunda 7 versioning to CIB seven versioning. The transition to CIB seven versioning changed version part in the file names from 7.x-based naming to 2.x-based naming, such as h2_engine_7.24_to_2.1.sql followed by h2_engine_2.1_to_2.2.sql. The Liquibase changelog has been updated accordingly to use the new CIB seven version identifiers as well.

Full distribution

This section is applicable if you installed the Full Distribution with a shared process engine.

The following steps are required:

  1. Update the CIB seven libraries and applications inside the application server.
  2. Migrate custom process applications.

Before starting, ensure you have downloaded the CIB seven 2.2 distribution for the application server you use. This contains the SQL scripts and libraries required for the update. This guide assumes you have unpacked the distribution to a path named $DISTRIBUTION_PATH.

Docker Base Image Update

The Docker base image has been updated from Alpine Linux 3.22 to Alpine Linux 3.23.

Migration Steps

For standard Docker image usage, no action is required beyond pulling the 2.2.0 image.

For custom Docker configurations:

  1. Assess Custom Code: Review any Alpine-specific customizations for version 3.23 compatibility.
  2. Update Dependencies: Check that the additional packages you install are available in Alpine 3.23.
  3. Rebuild Custom Images: Update Dockerfiles that extend the CIB seven base image.
  4. Test Migration: Verify functionality after updating to the new base image.

Docker Java 21 Only

For CIB seven 2.2.0, only Java 21 Docker images are published. Java 17 images are no longer built or released.

Java 21 is now the default image variant, so the java21- tag prefix has been removed. As a result, images are published under the regular tags such as cibseven:2.2.0 and cibseven:run-2.2.0, while the enterprise variants continue to use the -ee suffix.

Migration Steps

If you consume CIB seven Docker images in deployment scripts, CI pipelines, or container manifests, review image names and tags accordingly and switch any Java 17 or java21- prefixed references to the new default Java 21 tags.

OpenTelemetry and JMX metrics

Starting with CIB seven 2.2.0, the Docker images use the OpenTelemetry Java Agent instead of the Prometheus JMX Exporter for metrics and observability.

This change modernizes the observability setup and extends it beyond Prometheus-specific metrics. JMX metrics configuration files were added for extended JVM metrics collection, and the related tests and documentation were updated accordingly.

User impact

This change mainly affects installations that rely on the previous Prometheus JMX Exporter based setup.

If you use the standard Docker image defaults, no user impact is expected.

Migration steps

If you use custom monitoring or scraping configuration, review it and adapt it to the OpenTelemetry based metrics setup.

Where the agent is loaded

Distribution How the agent is attached Enabled by default
Tomcat -javaagent in CATALINA_OPTS when OTEL_AGENT_ENABLED=true no
WildFly -javaagent in PREPEND_JAVA_OPTS when OTEL_AGENT_ENABLED=true no
run, run4 -javaagent in JAVA_OPTS, always yes

The agent is attached to the server process only, so CLI tools such as jboss-cli.sh are not affected. Even when the agent is loaded, all exporters are off (none) until you configure them.

Environment variables

Variable Default in the image Description
OTEL_AGENT_ENABLED false Tomcat and WildFly only: set to true to attach the agent
OTEL_METRICS_EXPORTER none prometheus opens the metrics endpoint on port 9464, otlp pushes metrics to a collector
OTEL_TRACES_EXPORTER none e.g. otlp
OTEL_LOGS_EXPORTER none e.g. otlp. CIB seven logs through its logging framework, so this is rarely needed
OTEL_EXPORTER_PROMETHEUS_HOST 0.0.0.0 since the 2.2.4 hotfix images, not set before Address the Prometheus exporter listens on. Not set means the agent default, see the table below. localhost allows only in-container scraping
OTEL_EXPORTER_PROMETHEUS_PORT 9464 Port of the Prometheus metrics endpoint (/metrics)
OTEL_SERVICE_NAME cibseven Service name reported with the metrics and traces
OTEL_JMX_CONFIG /camunda/javaagent/jmx_config.yaml,/camunda/javaagent/jmx_custom_config.yaml JMX metrics definitions collected by the agent
OTEL_JAVAAGENT_LOGGING application Logging mode of the agent
OTEL_LOG_LEVEL error Log level of the agent

Example: expose Prometheus metrics of the Tomcat image.

docker run -d --name cibseven -p 8080:8080 -p 9464:9464 \
  -e OTEL_AGENT_ENABLED=true \
  -e OTEL_METRICS_EXPORTER=prometheus \
  -e OTEL_EXPORTER_PROMETHEUS_HOST=0.0.0.0 \
  cibseven/cibseven:tomcat-2.2.0

OTEL_EXPORTER_PROMETHEUS_HOST=0.0.0.0 is required for the 2.2.2, 2.2.3 and 2.2.4 images, and harmless for all others. Restrict access to port 9464 to trusted scrapers.

Changes by release

Docker images OpenTelemetry Java agent Prometheus exporter listens on CPU utilization metrics What to do
2.2.0, 2.2.1 2.26.1 all interfaces (agent default) os_cpu_recent_utilization_ratio, os_system_cpu_utilization_ratio Nothing
2.2.2, 2.2.3, 2.2.4 2.28.1 localhost only (agent default) os_cpu_recent_utilization, os_system_cpu_utilization Set OTEL_EXPORTER_PROMETHEUS_HOST=0.0.0.0 to scrape from another container or through a published port. Update dashboards and alerts to the metric names without _ratio
2.2.4 hotfix (-hotfix tags) and later 2.28.1 all interfaces (OTEL_EXPORTER_PROMETHEUS_HOST=0.0.0.0 set in the image) os_cpu_recent_utilization, os_system_cpu_utilization Update dashboards and alerts to the metric names without _ratio if you come from 2.2.1 or earlier

These changes only matter when the Prometheus exporter is enabled (OTEL_METRICS_EXPORTER=prometheus). With the image defaults no metrics are exported. See the release notes of 2.2.2, 2.2.3, 2.2.4 and the 2.2.4 hotfix.

Spring Boot 4 Support

CIB seven 2.2.0 starts supporting Spring Boot 4. This includes a new Spring Boot 4 starter suite and a new Run4 distribution based on Spring Boot 4. Additionally, the new Run4 distribution has been added to the Docker images.

User impact

This change only affects installations and applications that migrate from Spring Boot 3 to Spring Boot 4.

Migration steps

If you want to move from Spring Boot 3 to Spring Boot 4:

  1. Update your POM files to switch from the existing Spring Boot 3 starter modules to the new Spring Boot 4 starter modules.
  2. Review your project configuration and dependencies for Spring Boot 4 compatibility.
  3. Test your application thoroughly after the upgrade.

Update to Tomcat 11

With this release, CIB seven supports Tomcat 11 as the new default pre-packaged Tomcat distribution.

If you prefer to stay on Tomcat 10, you can still use the released CIB seven modules in your Tomcat 10 installation when updating to CIB seven 2.2.0, since the released modules remain compatible with Tomcat 10.

Update to WildFly 40

With this release, CIB seven supports WildFly 40 as the new default pre-packaged WildFly distribution.

If you prefer to stay on previous supported WildFly versions, such as WildFly 28 and higher, you can still use the released CIB seven modules in your WildFly installation when updating to CIB seven 2.2.0, since the released modules remain compatible with these WildFly versions.

End of Java 11 support

Java 11 is no longer supported. Starting with this release, CIB seven is not supported in Java 11 environments.

Update your Java runtime to a currently supported version, such as Java 17 or Java 21.

User impact

This change affects installations that still run on Java 11.

Migration steps

Update your Java environment to Java 17 or Java 21 before upgrading to CIB seven 2.2.0.

GraalVM JavaScript Dependency

Starting with CIB seven 2.2.0, the GraalVM JavaScript classes have been un-shaded from the cibseven-engine jar. Previously they were embedded directly inside the engine artifact, making JavaScript scripting available without any additional dependency. Now the GraalVM JavaScript engine is an optional, explicitly declared dependency that you add only when needed.

Pre-packaged distributions unaffected

This change does not affect users of the pre-packaged Tomcat or WildFly/JBoss EAP distributions. Those distributions continue to ship the GraalVM JavaScript libraries separately in the lib/ or modules/ folder.

User impact

This change affects Spring Boot starter users who use any of the following in their BPMN processes:

  • Script tasks or execution listeners with the javascript or ecmascript script format
  • Connector input/output mappings evaluated as JavaScript
  • Condition expressions written in JavaScript

After upgrading to 2.2.0, these scenarios may fail at runtime with an error similar to:

Can't find scripting engine for 'javascript': scriptEngine is null

Migration steps

If you encounter the error above after upgrading to 2.2.0, add the GraalVM JavaScript dependencies explicitly to your project:

<dependency>
  <groupId>org.graalvm.js</groupId>
  <artifactId>js-scriptengine</artifactId>
  <version>24.1.1</version>
</dependency>
<dependency>
  <groupId>org.graalvm.js</groupId>
  <artifactId>js</artifactId>
  <version>24.1.1</version>
</dependency>

Consult the scripting documentation for details on the use of scripting engines in CIB seven.

AI Agent Connector

The AI Agent Connector is a major new feature in CIB seven 2.2.0. It introduces the new cibseven-connect-ai-agent module, allowing BPMN service tasks to invoke AI agents through standard connector configuration without custom Java code.

The connector supports tool calling, retrieval-augmented generation with pgvector, chat memory, and audit trail capabilities. It also ships with a Knowledge Ingestor connector for preparing content used by AI-powered process interactions.

CIB seven Modeler

CIB seven 2.2.0 introduces CIB seven Modeler as a new web-based modeling application for BPMN, DMN, and embedded forms.

The modeler is integrated into cibseven-webclient and includes features such as visual BPMN and DMN modeling, form modeling, element templates, and direct deployment. For more details, see the CIB seven Modeler documentation.

BPMN AI Agent

BPMN AI Agent is integrated into the CIB seven Modeler and accessible in the Enterprise Edition only.

JWT secret configuration

Starting with CIB seven 2.2.0, the JWT secret for engine-rest can also be configured using the JVM system property cibseven.webclient.authentication.jwtSecret or the environment variable CIBSEVEN_WEBCLIENT_AUTHENTICATION_JWTSECRET.

This is useful in environments where setting dotted property names as operating-system environment variables is problematic. No migration is required unless you want to switch from file-based configuration to the new system property or environment variable based setup.

In the Enterprise Edition, the engine must use the same secret as the webclient, otherwise the license key cannot be stored in the database, see License key location.

Multi-engine support

CIB seven webclient supports connections to multiple engine REST endpoints, allowing a single webclient instance to manage multiple CIB seven engines.

This is useful for administrators and developers who need to switch quickly between environments such as development, test, and production. Additional engines can be configured via the additionalEngineRest property, and after configuration an additional engine selector icon appears in the webclient top menu.

For configuration details, see Multi-engine support.

License key location

Starting with CIB seven 2.2.0, the license key is stored in the engine database (Enterprise Edition only). This avoids the problem with applying a key when the user home directory is on a read-only file system, for example in Kubernetes. The key is applied once per database and is valid for all engines that use it.

User impact

  • Licensed EE features require HTTPS, see HTTPS for licensed EE features.
  • The license key is stored in the database and read from it only if the engine uses the same JWT secret as the webclient. In CIB seven Run, this is the case by default. If the webclient and the engine run separately and the secrets differ, the webclient uses only the license file, and a key entered in the Admin webapp is not stored, although no error is shown.
  • For an additional engine (multi-engine) with its own jwtSecret that differs from the webclient secret, the key is not stored in the database of this engine.
  • With an engine older than 2.2.0, the key is not stored in the database.

Migration steps

  1. If the webclient and the engine run separately, set the same secret for the engine as cibseven.webclient.authentication.jwtSecret of the webclient: through the JVM system property cibseven.webclient.authentication.jwtSecret, the environment variable CIBSEVEN_WEBCLIENT_AUTHENTICATION_JWTSECRET or the file cibseven-webclient.properties on the engine’s classpath.
  2. Change the secret on the webclient and the engine at the same time: the stored key stays valid. If the secret is changed on one side only, the stored key can no longer be read: the webclient falls back to the license file, and without a valid license file licensed EE features show “License Required” until the secrets match again.
  3. The existing license file keeps working. A valid key from it is saved to the database the first time a user who is allowed to set the license opens the webclient (for example, an administrator; with authorization enabled, a user with the SET or ALL permission on the System resource); until then, the webclient reads the key from the file. Keep the license file in place for additional engines with their own jwtSecret and for engines older than 2.2.0. For details, see CIB seven License Keys.

HTTPS for licensed EE features

Starting with CIB seven 2.2.0, the webclient reads the license from the engine on behalf of the user. Therefore, licensed EE features (for example, process instance search or the audit log) are loaded only through an authenticated request. The browser adds the user’s token to these requests through a service worker, and browsers run a service worker only in a secure context: over HTTPS or on localhost. This applies to Enterprise Edition only.

User impact

If the webclient is opened over plain HTTP or the browser has service workers turned off, licensed EE features show “License Required” although the license is valid. The rest of the webclient works as before. This also applies to the Direct Provider. This restriction did not exist in 2.1.

With the standard login, cibseven.webclient.license.chunk.trustServerAuthentication does not help: without a service worker the token is not sent, and the request is refused with 403. Starting with 2.2.3, deployments where a gateway or proxy authenticates the users can let the server authenticate these requests instead, for example from a session cookie or from an identity header that the gateway or proxy adds, see HTTPS and Service Workers.

Migration steps

Open the webclient over HTTPS, for example with TLS on the ingress or on a reverse proxy in front of the webclient. For tests, access through localhost (for example through an SSH tunnel) also works, or a browser started with a flag that treats the webclient’s HTTP address as secure. See also HTTPS and Service Workers.

If users are authenticated before the webclient starts (SAML, reverse proxy or API gateway), see also Authenticating Licensed Frontend Chunks (starting with 2.2.3).

Keycloak User provider renaming

The KeycloakUserProvider configuration name has been renamed to OAuth2UserProvider.

User impact

This change affects installations that explicitly configure KeycloakUserProvider.

Migration steps

When updating to CIB seven 2.2.0, review your default.yml or application.yml files and replace existing userProvider entries that still use KeycloakUserProvider with OAuth2UserProvider.

Direct Provider

Direct Provider is a new beta feature introduced in CIB seven 2.2.0. It provides SevenDirectProvider as an alternative implementation of BpmProvider (SevenDirectProviderEE in the Enterprise Edition), enabling direct access to the process engine without using REST APIs.

This option can be beneficial for embedded deployments that require tighter integration with the process engine and prefer to avoid the overhead of REST-based communication.

Beta feature

This feature is currently in beta and should be carefully evaluated before being used in production environments.

User impact

No user impact is expected unless you want to adopt this new beta feature.

Migration steps

If you want to use this feature, configure your application to use SevenDirectProvider.

SCIM2 Identity Provider

SCIM2 Identity Provider Plugin is a new beta feature in CIB seven 2.2.0. It allows CIB seven to integrate with a SCIM-compliant service and provides configurable caching and optional OIDC-secured access. As this feature is currently beta, it is intended for selected use cases and should be validated carefully before wider adoption.

User impact

No user impact is expected unless you want to enable SCIM 2.0 identity provider plugin.

Migration steps

If you want to use this feature, activate the plugin in the engine configuration and configure the plugin accordingly.

New Configuration Options

This release introduces several new configuration options:

  • checkVariableTaskId: validates that a referenced task exists and is not yet completed before assigning task variables, helping to prevent orphaned task variable references.
  • authGroupFilterThreshold: can improve authorization query performance allowing to skip an auxiliary SQL query to ACT_RU_AUTHORIZATION when a user belongs to fewer groups than the configured threshold, which can improve performance for very large authorization tables.
  • maxCallActivityRecursionDepth: prevents infinite recursion in call activities by enforcing a configurable recursion limit.

User impact

These options do not affect existing behavior by default. They preserve the original behavior unless explicitly enabled or configured.

On this Page: