Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-13151

Cannot Start Camunda BPM Run 7.13.11 with Java 9+

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.13.12
    • 7.13.9, 7.13.10, 7.13.11
    • run
    • None

      Environment (Required on creation):

      Camunda Run 7.13.9+ using Java 9+

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

      Starting Run with REST API and/or Webapps enabled will fail with exceptions around missing classes from javax.xml and javax.activation as soon as there is interaction with the REST API and Jersey.

      Steps to reproduce (Required on creation):

      1. Start Run with Java 9+ and REST and/or Webapps enabled
      2. Perform a REST API request or open any of the Webapps

      Observed Behavior (Required on creation):

      The server log shows exceptions around missing classes from javax.xml and javax.activation depending on the interaction you triggered.

      Expected behavior (Required on creation):

      There are no exceptions in the log and all necessary classes are found.

      Root Cause (Required on prioritization):

      With CAM-12775, we bumped Spring Boot Starter to version 2.3.6 in 7.13, which leads to the same issues mentioned in CAM-12187:
      We picked up javax-activation-api and javax-xml-api with the spring-boot-starter-jersey in Spring Boot 2.2.x. Those are not present in Spring Boot 2.3.x anymore.

      Solution Ideas (Optional):

      Same as in CAM-12187:
      Add an explicit dependency to jakarta.xml.bind-api in Run to pull in the necessary classes.

      Hints (Optional):

      Two workarounds for customers that currently have the issue:

      1. use JDK 8 if possible
      2. add the JARs for jakarta.xml.bind-api and jakarta.activation-api to Run's configuration/userlib

        This is the controller panel for Smart Panels app

              nikola.koevski Nikola Koevski
              tobias.metzke Tobias Metzke-Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: