<?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: System restart in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150155#M105048</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are these service tasks configured as asynchronous?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By default Activiti resumes all process execution where it left of.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have a synchronous service task that's being executed at the time the server crashed, that transaction is not committed to the database. So the process engine will be in the last wait state before this service task. Is that's a user task for example, the process engine will wait until you complete the user task again.&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>Tue, 24 Sep 2013 13:34:02 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2013-09-24T13:34:02Z</dc:date>
    <item>
      <title>System restart</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150154#M105047</link>
      <description>Hi,I am trying to understand how Activiti handles unexpected restarts.My company is currently assessing Activiti's hability to recover from an unexpected shutdown of the system.The context is the following, Activiti will run on a server handling lots of process instances mainly consisting of service</description>
      <pubDate>Tue, 24 Sep 2013 12:16:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150154#M105047</guid>
      <dc:creator>pollop</dc:creator>
      <dc:date>2013-09-24T12:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: System restart</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150155#M105048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are these service tasks configured as asynchronous?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By default Activiti resumes all process execution where it left of.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have a synchronous service task that's being executed at the time the server crashed, that transaction is not committed to the database. So the process engine will be in the last wait state before this service task. Is that's a user task for example, the process engine will wait until you complete the user task again.&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>Tue, 24 Sep 2013 13:34:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150155#M105048</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-09-24T13:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: System restart</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150156#M105049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thaks for this topic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Today I faced with the same problem. During running of huge process tomcat have been restarted. And after server startup all runnig processes not finished and stay in active state. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I found no information about activiti behaviour in this situations.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 13:39:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150156#M105049</guid>
      <dc:creator>lehvolk</dc:creator>
      <dc:date>2013-09-24T13:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: System restart</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150157#M105050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In my situation I have a loop with isSequential="false" of callActivity tasks. Is there any possibility to complete all uncomplited callActivity processes and parent process?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 13:45:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150157#M105050</guid>
      <dc:creator>lehvolk</dc:creator>
      <dc:date>2013-09-24T13:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: System restart</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150158#M105051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The behaviour you describe is the one I would have expected but it doesn't seem to be the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My test workflow is very simple : Start -&amp;gt; Service 1 -&amp;gt; Service 2 -&amp;gt; Service 3 -&amp;gt; End&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I made Activiti crash during service 2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the database I have a row in the RU_EXECUTION table which looks like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;105 2 105 null null processTriple:1:103 null servicetask2 TRUE FALSE TRUE FALSE 1 4 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when restarting the application, nothing happens. My JavaDelegate class of Service2 is never instancied again nor is the one from Service3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All of my service class are "async" and the jobExecutorActive is set to true.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I missing something here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for oyur help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 07:27:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150158#M105051</guid>
      <dc:creator>pollop</dc:creator>
      <dc:date>2013-09-25T07:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: System restart</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150159#M105052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Quick update to make it easier.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Content of my ACT_RU_EXECUTION table:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ID_ 105&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;REV_ 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PROC_INST_ID_ 105&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BUSINESS_KEY_ null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PARENT_ID_ null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PROC_DEF_ID_ processTriple:1:103&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUPER_EXEC_ null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ACT_ID_ servicetask2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IS_ACTIVE_ TRUE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IS_CONCURRENT_ FALSE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IS_SCOPE_ TRUE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IS_EVENT_SCOPE_ FALSE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SUSPENSION_STATE_ 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CACHED_ENT_STATE_&amp;nbsp; 4 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Content of my ACT_RU_JOB:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ID_ 109&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;REV_ 6&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TYPE_ message&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOCK_EXP_TIME_ null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOCK_OWNER_ null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EXCLUSIVE_ TRUE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EXECUTION_ID_ 105&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PROCESS_INSTANCE_ID_ 105&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PROC_DEF_ID_ null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RETRIES_ 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EXCEPTION_STACK_ID_ 111&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EXCEPTION_MSG_ couldn t execute activity &amp;lt;serviceTask id="servicetask2" …&amp;gt;: Someone stepped on the wire.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DUEDATE_ null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;REPEAT_ null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HANDLER_TYPE_ async-continuation null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HANDLER_CFG_ null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 13:46:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150159#M105052</guid>
      <dc:creator>pollop</dc:creator>
      <dc:date>2013-09-25T13:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: System restart</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150160#M105053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you can see it in your db:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RETRIES_ 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EXCEPTION_STACK_ID_ 111&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EXCEPTION_MSG_ couldn t execute activity &amp;lt;serviceTask id="servicetask2" …&amp;gt;: Someone stepped on the wire.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The job executor tried 3 times, and no retries left. The job executor won't keep trying.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It means that when the system 'crashed' the job executor actually still was running and tried for 3 times.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can now fetch the job and execute it manually.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 17:07:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150160#M105053</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-09-26T17:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: System restart</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150161#M105054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joram,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While the engine has locked some jobs for processing, then restarting the servers or because of a crash, thos jobs will never be processed. Typically, the LOCK_EXP_TIME_ has some value, the LOCK_OWNER_ = null, DUEDATE_= null, and RETRIES_ &amp;gt; 0. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I trigger them manually, that is setting LOCK_EXP_TIME_ = null and DUEDATE_ = CURRENT_TIMESTAMP, they will be picked up and consumed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have suggestion of how to overcome this issue, other than creating a scanning thread for such jobs and try to unlock them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 21:20:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150161#M105054</guid>
      <dc:creator>dan_</dc:creator>
      <dc:date>2016-06-03T21:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: System restart</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150162#M105055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@dan_: the duedate = null not being picked up is something that is fixed in the recent 5.21 release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 11:17:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/system-restart/m-p/150162#M105055</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-06-20T11:17:51Z</dc:date>
    </item>
  </channel>
</rss>

