In about 60% cases can not resolve JavaDelegate in Service after Timer

Hi @romankh3,

if your Java class (or Spring bean) only exists in one of the two projects, make sure you configure the job executor to be deployment aware. Otherwise you might end up in a situation where the job executor of the application that does not have access to the class tries to execute the timer job and fails loading that class.

You can read more about this topic here:

https://docs.camunda.org/manual/7.10/user-guide/spring-boot-integration/configuration/#camunda-engine-properties

https://docs.camunda.org/manual/7.10/user-guide/process-engine/the-job-executor/#job-execution-in-heterogeneous-clusters

Cheers,
Ben

1 Like