<?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: Activiti job executors in a clustered environment in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-job-executors-in-a-clustered-environment/m-p/100682#M69784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the issue with the current implementation? When you have multiple job executors, only 1 will execute a job as the job is locked in the database. Another job executor will give an OptimisticLockException. So what's wrong with 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>Thu, 12 Sep 2013 06:36:20 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2013-09-12T06:36:20Z</dc:date>
    <item>
      <title>Activiti job executors in a clustered environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-job-executors-in-a-clustered-environment/m-p/100676#M69778</link>
      <description>Hi,I've got a two node back-end cluster driven by Activiti (front-ends start processes and the back-ends poll for activities they can process). All good but soon I'm going to be wanting to have timer start events. I'd like to enable the job executor on both but wouldn't want both of the back-ends to</description>
      <pubDate>Thu, 21 Jun 2012 10:10:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-job-executors-in-a-clustered-environment/m-p/100676#M69778</guid>
      <dc:creator>peter_spikings</dc:creator>
      <dc:date>2012-06-21T10:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti job executors in a clustered environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-job-executors-in-a-clustered-environment/m-p/100677#M69779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 07:03:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-job-executors-in-a-clustered-environment/m-p/100677#M69779</guid>
      <dc:creator>peter_spikings</dc:creator>
      <dc:date>2012-06-25T07:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti job executors in a clustered environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-job-executors-in-a-clustered-environment/m-p/100678#M69780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://www.catb.org/~esr/faqs/smart-questions.html#idp30004672" rel="nofollow noopener noreferrer"&gt;http://www.catb.org/~esr/faqs/smart-questions.html#idp30004672&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 07:38:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-job-executors-in-a-clustered-environment/m-p/100678#M69780</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-06-25T07:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti job executors in a clustered environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-job-executors-in-a-clustered-environment/m-p/100679#M69781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reminder, Ronald.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The job-executors can run concurrently. When they both acquire the same job, one of them will get an optimistic-lock exception when executing the timer and will roll back.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 09:27:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-job-executors-in-a-clustered-environment/m-p/100679#M69781</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-06-25T09:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti job executors in a clustered environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-job-executors-in-a-clustered-environment/m-p/100680#M69782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks for the reminder, Ronald.&lt;BR /&gt;&lt;BR /&gt;The job-executors can run concurrently. When they both acquire the same job, one of them will get an optimistic-lock exception when executing the timer and will roll back.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Excellent, I suspected as much, just wanted to confirm!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 09:36:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-job-executors-in-a-clustered-environment/m-p/100680#M69782</guid>
      <dc:creator>peter_spikings</dc:creator>
      <dc:date>2012-06-25T09:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti job executors in a clustered environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-job-executors-in-a-clustered-environment/m-p/100681#M69783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same situation on my production platform. I was wondering if its not better to use a lock based on the database ("select from 'specificLockTable' for update" in the beginning of the transaction used by the jobExecutor) than to catch the OptimisticLockingFailure Exception. This way we ensure that no concurrent access happens when different jobExecutors are executed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gilbert E.H.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2013 16:43:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-job-executors-in-a-clustered-environment/m-p/100681#M69783</guid>
      <dc:creator>slash117</dc:creator>
      <dc:date>2013-09-11T16:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti job executors in a clustered environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-job-executors-in-a-clustered-environment/m-p/100682#M69784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the issue with the current implementation? When you have multiple job executors, only 1 will execute a job as the job is locked in the database. Another job executor will give an OptimisticLockException. So what's wrong with 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>Thu, 12 Sep 2013 06:36:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-job-executors-in-a-clustered-environment/m-p/100682#M69784</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-09-12T06:36:20Z</dc:date>
    </item>
  </channel>
</rss>

