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

ClassNotFoundException upon server shutdown when using and "end" ExecutionListener

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.1.0-alpha4
    • Fix Version/s: 7.2.0, 7.2.0-alpha4
    • Component/s: engine
    • Labels:

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: