Migrating camunda

Hi All,

we are currently trying to move our application from a tomcat 7 to jboss eap6. During this migration we are facing a strange issue. The ProcessEngine is running fine with every 2nd request but every 1st request will result in a Exception while closing command context. In both cases the process starts and runs fine through the processdefinition until the first action.

org.camunda.bpm.engine.context 'ENGINE-16004 Exception while closing command context: execution 2514730 doesn’t exist: execution is null: org.camund
a.bpm.engine.exception.NullValueException: execution 2514730 doesn’t exist: execution is null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

We already searched the documentation and forums a lot but didn’t find a similar thread to this.

Conditions :

  • camunda engine is placed in lib folder of ear

  • camunda is configured as a standalone ProcessEngine using Spring

  • camunda uses an mysql datasource








We can reproduce this issue over different application server and in local environment. We’ve also turned on SQL-Log but didn’t find a difference between a working and a non working thread.
We also checked that just one ProcessEngine is in place and this one will be used but for now we don’t have a clue to continue.

Does anyone face a similar issue?

Thanks in advance
Jan