Process Execution starts before Spring Context is up


#1

Hi,

my team is using Tomcat 8.0 with Camunda 7.7 and Spring. Time At times we are experiencing some issues when starting our application. The Process execution doesn’t find the needed java delegates because the spring context isn’t up, when the camunda process executer starts working.

The jobExecutorDeploymentAware-Setting in the bpm-platform.xml is set.

Any ideas?

Kind regards,
Sebastian


#2

Problem solved.

We’ve suspended our process definition on start up within the @PostDeploy Method in our ProcessApplication implementation. When the Spring context is loaded the process defintion is startet again (used InitializingBean for this).