{"id":13014,"date":"2017-12-19T23:38:56","date_gmt":"2017-12-20T06:38:56","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=13014"},"modified":"2020-08-27T15:53:36","modified_gmt":"2020-08-27T22:53:36","slug":"kb0171512-long-running-batches-and-duplicate-recostarplugin-processes","status":"publish","type":"post","link":"https:\/\/ephesoft.com\/docs\/kb0171512-long-running-batches-and-duplicate-recostarplugin-processes\/","title":{"rendered":"KB0171512 Long running batches and duplicate RecostarPlugin processes"},"content":{"rendered":"
KB Articles<\/strong><\/p>\n <\/p>\n KB Article # 171512<\/p>\n Topic\/Category: Activiti, 4x<\/p>\n Issue: Duplicate processes result in error similar to:<\/p>\n 2017-05-22 12:03:06,014 [ERROR] [pool-1-thread-7] [com.ephesoft.dcma.recostar.service.RecostarServiceImpl] – Uncaught Exception in readOCR method Batch Instance with identifier BI2B3DE is either deleted or restarted midway of processing 2017-05-22 12:03:06,014 [ERROR] [pool-1-thread-7] [org.activiti.engine.impl.cmd.JobRetryCmd] – activitiy or FailedJobRetryTimerCycleValue is null in job 6d8fb14d-3f01-11e7-a02c-0025b5500a9e’. only decrementing retries. <\/p>\n Solution: <\/strong><\/p>\n <\/p>\n <\/p>\n<\/div>\n<\/div>\n < Back<\/a><\/strong>|KB Main Page<\/strong><\/a> | Next KB Article ><\/a> <\/strong><\/p>\n","protected":false},"excerpt":{"rendered":" KB Articles KB Article # 171512 Topic\/Category: Activiti, 4x Issue: Duplicate processes result in error similar to: 2017-05-22 12:03:06,014 […]<\/p>\n","protected":false},"author":54,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12392],"tags":[1430],"yoast_head":"\n
\ncom.ephesoft.dcma.core.exception.BatchInstanceDeletionOrRestartException: Batch Instance with identifier BI2B3DE is either deleted or restarted midway of processing<\/p>\n
\n2017-05-22 12:03:06,077 [ERROR] [pool-1-thread-7] [org.springframework.transaction.support.TransactionSynchronizationUtils] – TransactionSynchronization.afterCompletion threw exception
\norg.activiti.engine.ActivitiOptimisticLockingException: JobEntity [id=6d8fb14d-3f01-11e7-a02c-0025b5500a9e] was updated by another transaction concurrently<\/p>\nIncrease\u00a0\u00a0activity.restart.time in application.properties.<\/h5>\n