{"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
\ncom.ephesoft.dcma.core.exception.BatchInstanceDeletionOrRestartException: Batch Instance with identifier BI2B3DE is either deleted or restarted midway of processing<\/p>\n

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.
\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>\n

 <\/p>\n

Solution: <\/strong><\/p>\n

 <\/p>\n

\n
\n
Increase\u00a0\u00a0activity.restart.time in application.properties.<\/h5>\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":"\nKB0171512 Long running batches and duplicate RecostarPlugin processes | Ephesoft Docs<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"KB0171512 Long running batches and duplicate RecostarPlugin processes\" \/>\n<meta property=\"og:description\" content=\"KB Articles   KB Article # 171512 Topic\/Category: Activiti, 4x Issue: Duplicate processes result in error similar to: 2017-05-22 12:03:06,014 […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ephesoft.com\/docs\/kb0171512-long-running-batches-and-duplicate-recostarplugin-processes\/\" \/>\n<meta property=\"og:site_name\" content=\"Ephesoft Docs\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-20T06:38:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-27T22:53:36+00:00\" \/>\n<meta name=\"author\" content=\"lydiaxie\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"lydiaxie\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ephesoft.com\/docs\/kb0171512-long-running-batches-and-duplicate-recostarplugin-processes\/\",\"url\":\"https:\/\/ephesoft.com\/docs\/kb0171512-long-running-batches-and-duplicate-recostarplugin-processes\/\",\"name\":\"KB0171512 Long running batches and duplicate RecostarPlugin processes | Ephesoft Docs\",\"isPartOf\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\"},\"datePublished\":\"2017-12-20T06:38:56+00:00\",\"dateModified\":\"2020-08-27T22:53:36+00:00\",\"author\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/bca3e75d8d08163c3b26d530db9013d1\"},\"breadcrumb\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/kb0171512-long-running-batches-and-duplicate-recostarplugin-processes\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ephesoft.com\/docs\/kb0171512-long-running-batches-and-duplicate-recostarplugin-processes\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ephesoft.com\/docs\/kb0171512-long-running-batches-and-duplicate-recostarplugin-processes\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ephesoft.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KB0171512 Long running batches and duplicate RecostarPlugin processes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\",\"url\":\"https:\/\/ephesoft.com\/docs\/\",\"name\":\"Ephesoft Docs\",\"description\":\"Intelligent Document Processing Made Easy\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ephesoft.com\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/bca3e75d8d08163c3b26d530db9013d1\",\"name\":\"lydiaxie\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b98869ec848ba0d1f0d43297973b9cd7?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b98869ec848ba0d1f0d43297973b9cd7?s=96&r=g\",\"caption\":\"lydiaxie\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"KB0171512 Long running batches and duplicate RecostarPlugin processes | Ephesoft Docs","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"KB0171512 Long running batches and duplicate RecostarPlugin processes","og_description":"KB Articles   KB Article # 171512 Topic\/Category: Activiti, 4x Issue: Duplicate processes result in error similar to: 2017-05-22 12:03:06,014 […]","og_url":"https:\/\/ephesoft.com\/docs\/kb0171512-long-running-batches-and-duplicate-recostarplugin-processes\/","og_site_name":"Ephesoft Docs","article_published_time":"2017-12-20T06:38:56+00:00","article_modified_time":"2020-08-27T22:53:36+00:00","author":"lydiaxie","twitter_card":"summary_large_image","twitter_misc":{"Written by":"lydiaxie","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ephesoft.com\/docs\/kb0171512-long-running-batches-and-duplicate-recostarplugin-processes\/","url":"https:\/\/ephesoft.com\/docs\/kb0171512-long-running-batches-and-duplicate-recostarplugin-processes\/","name":"KB0171512 Long running batches and duplicate RecostarPlugin processes | Ephesoft Docs","isPartOf":{"@id":"https:\/\/ephesoft.com\/docs\/#website"},"datePublished":"2017-12-20T06:38:56+00:00","dateModified":"2020-08-27T22:53:36+00:00","author":{"@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/bca3e75d8d08163c3b26d530db9013d1"},"breadcrumb":{"@id":"https:\/\/ephesoft.com\/docs\/kb0171512-long-running-batches-and-duplicate-recostarplugin-processes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ephesoft.com\/docs\/kb0171512-long-running-batches-and-duplicate-recostarplugin-processes\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ephesoft.com\/docs\/kb0171512-long-running-batches-and-duplicate-recostarplugin-processes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ephesoft.com\/docs\/"},{"@type":"ListItem","position":2,"name":"KB0171512 Long running batches and duplicate RecostarPlugin processes"}]},{"@type":"WebSite","@id":"https:\/\/ephesoft.com\/docs\/#website","url":"https:\/\/ephesoft.com\/docs\/","name":"Ephesoft Docs","description":"Intelligent Document Processing Made Easy","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ephesoft.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/bca3e75d8d08163c3b26d530db9013d1","name":"lydiaxie","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b98869ec848ba0d1f0d43297973b9cd7?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b98869ec848ba0d1f0d43297973b9cd7?s=96&r=g","caption":"lydiaxie"}}]}},"_links":{"self":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/13014"}],"collection":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/users\/54"}],"replies":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/comments?post=13014"}],"version-history":[{"count":0,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/13014\/revisions"}],"wp:attachment":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/media?parent=13014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/categories?post=13014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/tags?post=13014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}