<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: getting Exception org.activiti.engine.ActivitiOptimisticLockingException in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167884#M121377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes ，I know in version 5.17 job executor with a new async executor which is good, but currently we using Activiti 5.14，we guarantee the execution variables only readable after set.&amp;nbsp;&amp;nbsp; In multi subprocess ，when multi thead runing a async service task ActivitiOptimisticLockingException happen. so we set the lock time to 60min，It seem work, but I not sure is ActivitiOptimisticLockingException&amp;nbsp; may happen where in other special scene?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2015 02:22:43 GMT</pubDate>
    <dc:creator>box</dc:creator>
    <dc:date>2015-03-30T02:22:43Z</dc:date>
    <item>
      <title>getting Exception org.activiti.engine.ActivitiOptimisticLockingException</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167877#M121370</link>
      <description>I am using Activiti 5.14. I have created one bpmn that contains multi instance subprocess and we have created Service task within subprocess. Only one process engine is running in our environment. We are getting org.activiti.engine.ActivitiOptimisticLockingException while enabled async property of s</description>
      <pubDate>Fri, 28 Feb 2014 05:51:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167877#M121370</guid>
      <dc:creator>sharad</dc:creator>
      <dc:date>2014-02-28T05:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: getting Exception org.activiti.engine.ActivitiOptimisticLockingException</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167878#M121371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem is that with an async multi instance sub process + an async service task within that sub process, a service task can end concurrently within the multi instance scope. Is there a specific reason to make the service task async? Are they long running?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Mar 2014 13:52:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167878#M121371</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-03-01T13:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: getting Exception org.activiti.engine.ActivitiOptimisticLockingException</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167879#M121372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, Service task are taking long time.&amp;nbsp; We want to run service task in asynce manner. When I set Multi instance -&amp;gt; Sequential attribute to true of Multi Instance Sub process then there was no Exceptions. In that case, service task are running on multiple thread but in a sequential manner even if I have set Asynchronous option for sub process and service task to true. We want to run those service task in async manner.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do we achieve async Multi instance sub process with async service task without any exception ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do we need to handle ActivitiOptimisticLockingException in our project ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 07:19:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167879#M121372</guid>
      <dc:creator>sharad</dc:creator>
      <dc:date>2014-03-12T07:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: getting Exception org.activiti.engine.ActivitiOptimisticLockingException</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167880#M121373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having the same issue. Was there any solution to this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 21:45:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167880#M121373</guid>
      <dc:creator>jorell</dc:creator>
      <dc:date>2014-08-04T21:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: getting Exception org.activiti.engine.ActivitiOptimisticLockingException</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167881#M121374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you run multi-instance service tasks asynchronously, you can indeed run into Optimistic lock exceptions, when 2 async executions end about the same time. If you need to do long-running parallel execution, maybe you can take a look at integrating Camel, for example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Having long-running stuff happening in a ServiceTask will keep the transaction open. It can result in transaction timeouts or (in case transaction timeout &amp;gt; 5 minutes) have the job be considered "hanging", having the job unlocked and retried by the job-executor…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 08:46:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167881#M121374</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-08-06T08:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: getting Exception org.activiti.engine.ActivitiOptimisticLockingException</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167882#M121375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having the same issue. firstly I find the Job lock time is 5min but our service tasks remain unfinished, so&amp;nbsp; set the JobExecutor lock time to larger(60min)，concurrent is disappeared,is this work&amp;nbsp; ? thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Mar 2015 13:02:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167882#M121375</guid>
      <dc:creator>box</dc:creator>
      <dc:date>2015-03-28T13:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: getting Exception org.activiti.engine.ActivitiOptimisticLockingException</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167883#M121376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Which version of Activiti are you using? Since version 5.17 we improved the job executor with a new async executor. Did you take a look at that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2015 17:56:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167883#M121376</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-03-29T17:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: getting Exception org.activiti.engine.ActivitiOptimisticLockingException</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167884#M121377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes ，I know in version 5.17 job executor with a new async executor which is good, but currently we using Activiti 5.14，we guarantee the execution variables only readable after set.&amp;nbsp;&amp;nbsp; In multi subprocess ，when multi thead runing a async service task ActivitiOptimisticLockingException happen. so we set the lock time to 60min，It seem work, but I not sure is ActivitiOptimisticLockingException&amp;nbsp; may happen where in other special scene?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 02:22:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-exception-org-activiti-engine/m-p/167884#M121377</guid>
      <dc:creator>box</dc:creator>
      <dc:date>2015-03-30T02:22:43Z</dc:date>
    </item>
  </channel>
</rss>

