<?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: Issue with Job executioner removing the job record on server restart in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-job-executioner-removing-the-job-record-on-server/m-p/199941#M153071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Im not sure I follow. If a job was picked up, and the server went down, the transaction is rolled back in the database, and it is set to the previous state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I'm not understanding it correctly, or is it more complex as that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Feb 2015 15:33:13 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2015-02-18T15:33:13Z</dc:date>
    <item>
      <title>Issue with Job executioner removing the job record on server restart</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-job-executioner-removing-the-job-record-on-server/m-p/199940#M153070</link>
      <description>Hi,My process has a polling service which has a system task and an user task. The user task has a timer for 3 minutes which routes back to the system task which reads mail. The server hosting the web application had a restart when the job executioner had picked up the job from the jobs table (Now th</description>
      <pubDate>Wed, 11 Feb 2015 14:16:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-job-executioner-removing-the-job-record-on-server/m-p/199940#M153070</guid>
      <dc:creator>satramalin</dc:creator>
      <dc:date>2015-02-11T14:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Job executioner removing the job record on server restart</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-job-executioner-removing-the-job-record-on-server/m-p/199941#M153071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Im not sure I follow. If a job was picked up, and the server went down, the transaction is rolled back in the database, and it is set to the previous state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I'm not understanding it correctly, or is it more complex as that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 15:33:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-job-executioner-removing-the-job-record-on-server/m-p/199941#M153071</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-18T15:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Job executioner removing the job record on server restart</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-job-executioner-removing-the-job-record-on-server/m-p/199942#M153072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your response. The last wait state was a timer and the timer got fired which pushed the instance to the service task. The JVM now restarts when the execution is on the service task. If I am not wrong, the execution should now go to the last wait state which is the timer(timer is attached to the user task). This timer has already fired and there are no records in the jobs table. In this case, the instance gets stuck at the system task without moving forward. Attached is the .bpmn for your observation. Can you please help with a new design if this does not suit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 22:01:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-job-executioner-removing-the-job-record-on-server/m-p/199942#M153072</guid>
      <dc:creator>satramalin</dc:creator>
      <dc:date>2015-02-18T22:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Job executioner removing the job record on server restart</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-job-executioner-removing-the-job-record-on-server/m-p/199943#M153073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joram &amp;amp; other experts, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a scenario I think it is same as above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In our BPD we have a start event –&amp;gt; Service Task1 –&amp;gt; User task (with 2 days due date) with a attached Timer event that fires after 5 mins–&amp;gt; And the flow from Timer goes back to Service Task 1again. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Goal is to make Service Task1 run in an end less loop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This BPD is working fine and able to run the Service Task1 in endless loop as designed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, It is getting into hung state whenever JVM is restarting (due to any other reason)&amp;nbsp; while Service Task1 is in middle of execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea why BPD instance is getting hung state instead of restarting from the Service Task1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Addition info is we set both Asynchronus&amp;nbsp; and exclusive set to true for Service Task1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 22:58:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-job-executioner-removing-the-job-record-on-server/m-p/199943#M153073</guid>
      <dc:creator>dmoturu</dc:creator>
      <dc:date>2015-02-18T22:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Job executioner removing the job record on server restart</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-job-executioner-removing-the-job-record-on-server/m-p/199944#M153074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@satramalin :you have async on the service task. The last stable state is the moment just before the service task. That is why you see what you see. The timer fires, and it commits right before the service task due to the async bit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@dmoturu : What do you mean with endless loop? And endless Java loop? In that case, that's something I wouldn't do, as you are keeping your transaction open for a long time. Most databases dont like that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Feb 2015 08:30:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-job-executioner-removing-the-job-record-on-server/m-p/199944#M153074</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-28T08:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Job executioner removing the job record on server restart</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-job-executioner-removing-the-job-record-on-server/m-p/199945#M153075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Joram for response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I meant by endless loop is there is going to be only one process instance is active and running for ever and the flow of it comes back to the Service Task repeatedly at every 5 minutes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;User task (with its due date gets set to 2 days every time it is created) is a dummy and does nothing in this case as the timer fires at 5 minutes after its creation and closed by the Timer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Timer flow goes back to the Service Task so that it gets executed repeatedly at every 5 mins.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 16:47:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-job-executioner-removing-the-job-record-on-server/m-p/199945#M153075</guid>
      <dc:creator>dmoturu</dc:creator>
      <dc:date>2015-03-03T16:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Job executioner removing the job record on server restart</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-with-job-executioner-removing-the-job-record-on-server/m-p/199946#M153076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok, now i follow your explanation. But i can't quite say why the JVM is hanging. Also: how do you verify this? Isn't it the database that is waiting on someting?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The theory of Activiti and transactions is simple: server goes down -&amp;gt; transaction rollback&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 17:34:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-with-job-executioner-removing-the-job-record-on-server/m-p/199946#M153076</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-03-03T17:34:46Z</dc:date>
    </item>
  </channel>
</rss>

