AnsweredAssumed Answered

Error after parallel async tasks

Question asked by fconrady on Jul 25, 2015
Latest reply on Aug 4, 2015 by fconrady
Hi,

I tried to create a minimal example where two async service tasks run in parallel. For this I used the async job executor and I made the parallel gateway async and exclusive, as instructed in Tijs' blog entry:
http://bpmn20inaction.blogspot.ca/2014/07/activiti-516-feature-preview.html

The code is in the attached parallel.txt zip file.

I run Main.java as a Java application in Eclipse. The two tasks are executed, but then the process ends up printing the following message and hangs.
SEVERE: activitiy or FailedJobRetryTimerCycleValue is null in job 14'. only decrementing retries.

What am I missing?

Thanks
Florian

Started example.
Jul 24, 2015 4:14:36 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [activiti.cfg.xml]
Jul 24, 2015 4:14:40 PM org.activiti.engine.impl.db.DbSqlSession executeSchemaResource
INFO: performing create on engine with resource org/activiti/db/create/activiti.h2.create.engine.sql
Jul 24, 2015 4:14:40 PM org.activiti.engine.impl.db.DbSqlSession executeSchemaResource
INFO: performing create on history with resource org/activiti/db/create/activiti.h2.create.history.sql
Jul 24, 2015 4:14:40 PM org.activiti.engine.impl.db.DbSqlSession executeSchemaResource
INFO: performing create on identity with resource org/activiti/db/create/activiti.h2.create.identity.sql
Jul 24, 2015 4:14:40 PM org.activiti.engine.impl.ProcessEngineImpl <init>
INFO: ProcessEngine default created
Jul 24, 2015 4:14:40 PM org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor start
INFO: Starting up the default async job executor [org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor].
Jul 24, 2015 4:14:40 PM org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor startExecutingAsyncJobs
INFO: Creating thread pool queue of size 100
Jul 24, 2015 4:14:40 PM org.activiti.engine.impl.asyncexecutor.DefaultAsyncJobExecutor startExecutingAsyncJobs
INFO: Creating executor service with corePoolSize 2, maxPoolSize 10 and keepAliveTime 5000
Jul 24, 2015 4:14:40 PM org.activiti.engine.impl.asyncexecutor.AcquireTimerJobsRunnable run
INFO: {} starting to acquire async jobs due
Jul 24, 2015 4:14:40 PM org.activiti.engine.impl.asyncexecutor.AcquireAsyncJobsDueRunnable run
INFO: {} starting to acquire async jobs due
Jul 24, 2015 4:14:40 PM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
INFO: Processing resource Parallel.bpmn
Finished example.
Parallel strand 1
Parallel strand 2
Jul 24, 2015 4:14:43 PM org.activiti.engine.impl.cmd.JobRetryCmd execute
SEVERE: activitiy or FailedJobRetryTimerCycleValue is null in job 14'. only decrementing retries.

Attachments

Outcomes