<?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: ActivitiOptimisticLockingException on delete from ACT_RU_EXECUTION in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activitioptimisticlockingexception-on-delete-from-act-ru/m-p/186657#M139787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jobs that take 5 minutes to complete will indeed lead to problems. The default wait time for the job executor is 5 minutes. After 5 minutes, it will deem the job as not executed and hanging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Two solutions: Make the wait time (or the time until it can be unlocked) longer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Better is to not have jobs that take 5 mins. Keep in mind you are keeping a db transaction open for 5 minutes! This is never a good idea.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Better is to use some queue mechanism that puts the work on a queue and sends it back to the process once its done.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Aug 2014 16:18:31 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2014-08-30T16:18:31Z</dc:date>
    <item>
      <title>ActivitiOptimisticLockingException on delete from ACT_RU_EXECUTION</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activitioptimisticlockingexception-on-delete-from-act-ru/m-p/186654#M139784</link>
      <description>I am using Activiti 5.12 and am encountering an ActivitiOptimisticLockingException on delete from ACT_RU_EXECUTION. The workflow which I created looks like the "Activiti Definition.txt" The receive task is a just sitting there, so that the timer would fire every 1 minute and kick off the service tas</description>
      <pubDate>Mon, 11 Aug 2014 11:38:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activitioptimisticlockingexception-on-delete-from-act-ru/m-p/186654#M139784</guid>
      <dc:creator>nutsnbolts</dc:creator>
      <dc:date>2014-08-11T11:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: ActivitiOptimisticLockingException on delete from ACT_RU_EXECUTION</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activitioptimisticlockingexception-on-delete-from-act-ru/m-p/186655#M139785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How many nodes do you have running an engine on? Are all of those job executors?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error is happening after executing&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2014-08-11 00:08:16,538 [pool-2-thread-9] DEBUG behavior.BpmnActivityBehavior&amp;nbsp; - Leaving activity 'EBSDSServiceTask'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there multiple occurences of this step?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 08:51:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activitioptimisticlockingexception-on-delete-from-act-ru/m-p/186655#M139785</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-08-19T08:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: ActivitiOptimisticLockingException on delete from ACT_RU_EXECUTION</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activitioptimisticlockingexception-on-delete-from-act-ru/m-p/186656#M139786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is 1 single node running an engine with only 1 executor set to true. In my activi.xml I have a timer "EBSDSTimerEvent" that fires off the task "EBSDSServiceTask" on every 59sec of the minute. In most cases "EBSDSServiceTask" completes whatever task it does in less than a minute. However in rare cases it does take maybe 5 minutes to complete, during which time, the service task would have fired multiple times. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the service task there I have a static variable in there to ensure that only 1 instance of the code is running. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 06:47:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activitioptimisticlockingexception-on-delete-from-act-ru/m-p/186656#M139786</guid>
      <dc:creator>nutsnbolts</dc:creator>
      <dc:date>2014-08-20T06:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: ActivitiOptimisticLockingException on delete from ACT_RU_EXECUTION</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activitioptimisticlockingexception-on-delete-from-act-ru/m-p/186657#M139787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jobs that take 5 minutes to complete will indeed lead to problems. The default wait time for the job executor is 5 minutes. After 5 minutes, it will deem the job as not executed and hanging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Two solutions: Make the wait time (or the time until it can be unlocked) longer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Better is to not have jobs that take 5 mins. Keep in mind you are keeping a db transaction open for 5 minutes! This is never a good idea.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Better is to use some queue mechanism that puts the work on a queue and sends it back to the process once its done.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Aug 2014 16:18:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activitioptimisticlockingexception-on-delete-from-act-ru/m-p/186657#M139787</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-08-30T16:18:31Z</dc:date>
    </item>
  </channel>
</rss>

