i have deployed a camunda BPM Platform on a Tomcat Server. On this platform, i have configured a process engine and its job executor. I have created a process definition which contains a service task, 2 exclusive gateways and a timer-event. I have marked the service task as asynchronous-after. My goal is to keep process instance of this process definition live forever unless i explicit cancel it. So far so good, the job executor worked perfectly for a while and then stopped picking up job in the table act_ru_job. Do you have any ideas why the job-executor stopped picking up job? Or do i have to do some special configuration for the job-executor in the bpm-platform.xml file? Below is my configuration for job-executor.
<job-executor>
<job-acquisition name="default">
<properties>
<property name="maxJobsPerAcquisition">50</property>
<property name="waitTimeInMillis">8000</property>
<property name="lockTimeInMillis">400000</property>
</properties>
</job-acquisition>
<properties>
<property name="queueSize">30</property>
<property name="corePoolSize">10</property>
<property name="maxPoolSize">50</property>
<property name="keepAliveTime">5000</property>
</properties>
</job-executor>
<process-engine name="default">
<job-acquisition>default</job-acquisition>
<configuration>org.camunda.bpm.engine.impl.cfg.StandaloneProcessEngineConfiguration</configuration>
<datasource>java:jdbc/ProcessEngine</datasource>
<properties>
<property name="history">full</property>
<property name="databaseSchemaUpdate">true</property>
<property name="authorizationEnabled">true</property>
<property name="jobExecutorActivate">true</property>
<property name="jobExecutorDeploymentAware">true</property>
<property name="defaultNumberOfRetries">1</property>
</properties>
Thanks you all in advance.
Best Regard,
Nam