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

ClassNotFoundException upon server shutdown when using and "end" ExecutionListener

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.2.0, 7.2.0-alpha4
    • 7.1.0-alpha4
    • engine

    Description

      Environment: Camunda EE 7.1.0.alpha4 within JBoss EAP 6.1.1

      We face a problem when using "end" ExecutionListeners within our processes: when we shutdown the server we get a ClassNotFoundException (see attached log).

      We assume that this has to do with the setting "isDeleteUponUndeploy" which we have set to "true" in our Dev Environments. It seems that upon the undeployment on server shutdown the "end" ExecutionListener is invoked but as the invocation comes from the Camunda Engine itself (not from our process application), our ExecutionListener is not within the classpath.

      In our concrete case, the Listener is on a User Task. As a negative side effect of the thrown Exception, also the Task instances are not cleaned up, so after application redeployment we have all Tasks queued before as "Zombies" lying around.

      This will of course not be any problem in production environments but it really hurts in dev environments.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              thorben.lindhauer Thorben Lindhauer
              Scholz.Michael@DRAEXLMAIER.DE Michael Scholz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce