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

Model API is not available in cockpit plugins on JBoss/WildFly

      When using the Model API in cockpit plugins you get ClassNotFoundErrors. So you cannot use this within cockpit (testen on 7.4.0-alpha2).

      AT:

      • You can use Model API in cockpit plugin

      Background: A lot of use cases you extension elements to configure something in the process you want to leverage in a cockpit plugin.

        This is the controller panel for Smart Panels app

            [CAM-4883] Model API is not available in cockpit plugins on JBoss/WildFly

            E.G.

            java.lang.RuntimeException: org.jboss.resteasy.spi.UnhandledException: java.lang.NoClassDefFoundError: org/camunda/bpm/model/bpmn/instance/camunda/CamundaProperties
            ...

            Bernd Ruecker added a comment - E.G. java.lang.RuntimeException: org.jboss.resteasy.spi.UnhandledException: java.lang.NoClassDefFoundError: org/camunda/bpm/model/bpmn/instance/camunda/CamundaProperties ...

            Daniel Meyer added a comment - - edited

            This probably only happens on jboss and wildfly since the the webapp does not have a module dependency on the model api

            Daniel Meyer added a comment - - edited This probably only happens on jboss and wildfly since the the webapp does not have a module dependency on the model api

            OK - make sense - that would make it a bug in my oppionon

            Bernd Ruecker added a comment - OK - make sense - that would make it a bug in my oppionon

            yes

            Daniel Meyer added a comment - yes

            Roman Smirnov added a comment - See commits: CE: master: https://github.com/camunda/camunda-bpm-webapp/commit/d255e294865eccb646a45fd4c49e60137c6eab42 7.4: https://github.com/camunda/camunda-bpm-webapp/commit/4d90d7993252cc120d880def45162d588a2dff62 7.3: https://github.com/camunda/camunda-bpm-webapp/commit/a24f067cbdbc43585e80cc545062f437e08a5629 EE: master: https://github.com/camunda/camunda-bpm-platform-ee/commit/dd4651aebcb3f12e84a26c1ada468ab9317b3cc2 7.4: https://github.com/camunda/camunda-bpm-platform-ee-maintenance/commit/c91b9cad9d67c5a7e3b8daa58cb27e78eb24219a 7.3: https://github.com/camunda/camunda-bpm-platform-ee-maintenance/commit/d7218b90ab2c8cef21b871faaa8402a73930413d

              meyer Daniel Meyer
              ruecker Bernd Ruecker
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: