Cockpit Deployment with DeploymentAware

Hi,

When I deploy BPMNs with Camunda Cockpit starting new Instances works fine, but async jobs are not processed until a restart of the server.

The ProcessEngines are configured to be “deploymentAware”.

Is this expected behavior?

Cheers
tomes

Hello @tomes,

When you deploy processes through Cockpit, these deployments/processes are not registered with the engine. Therefore and since your engine is deployment aware your job executor will not try to pickup these jobs and will get stuck. To fix this you have two options.

  1. Configure your engine so that it is not deployment aware and pick up any job.
  2. Register your deployment to the right process engine. See ManagementService#registerProcessApplication java docs for more information.

Any of these options might bring some tradeoffs so I would recommend looking at this link. For example, if you go for number 1. Your process execution might run into class not found issues given that a java class might not be part of your process engine resources.

Does this make sense?

Also, it looks like you are using an enterprise edition feature of Camunda. Given this you should be able to use our enterprise support channel. Do you have access to it?

Regards,