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

ClassNotFoundException upon server shutdown when using and "end" ExecutionListener

XMLWordPrintable

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

      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.

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: