<?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: Multi server environment in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/multi-server-environment/m-p/209310#M162440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Markus,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I want to know how activiti is able to handle this.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;yes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If the next task (Service Task) throws an exception on server B is Server A able to execute it again?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;I assume that service task is asynchronous and jobexecutor is running on both instances A,B. (all code is available on A,B). then the answer is yes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I hope this managed automatically by the process engine?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Yes, but you have to understand what is part of the transaction and what is not. (read doc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is this possible with activiti?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Yes. Read more bout wait states and transaction management in activiti source.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2015 13:35:23 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2015-04-27T13:35:23Z</dc:date>
    <item>
      <title>Multi server environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-server-environment/m-p/209309#M162439</link>
      <description>Hi everyone,I have a question about using activiti in an environment where my application is deployed redundant on more than one server to ensure availability for the users. All applications pointing on the same database ( So only one db exists). My embedded process engine of course is part of the a</description>
      <pubDate>Mon, 27 Apr 2015 08:28:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-server-environment/m-p/209309#M162439</guid>
      <dc:creator>einszwo</dc:creator>
      <dc:date>2015-04-27T08:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multi server environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-server-environment/m-p/209310#M162440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Markus,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I want to know how activiti is able to handle this.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;yes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If the next task (Service Task) throws an exception on server B is Server A able to execute it again?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;I assume that service task is asynchronous and jobexecutor is running on both instances A,B. (all code is available on A,B). then the answer is yes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I hope this managed automatically by the process engine?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Yes, but you have to understand what is part of the transaction and what is not. (read doc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is this possible with activiti?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Yes. Read more bout wait states and transaction management in activiti source.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 13:35:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-server-environment/m-p/209310#M162440</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-04-27T13:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Multi server environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-server-environment/m-p/209311#M162441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok I read the documentation again and I think I understand the concepts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me outline it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an infrastructure with Server A and Server B with an embedded process engine pointing on the same database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a simple process model (no parallel execution) with two Service Tasks (Service Task 1 and Service Task 2) which are configured with activiti:async="true" and activiti:exclusive="true".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the new Async executor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When a process instance of the process model starts on server A, it is locked in DB and Service Task 1 ist executed. After execution the transaction ist committed an the process instance is unlocked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the next step maybe Server A or B tries to execute Service Task 2. Which one is not specified. For example it could be Server B which than locks the process instance again executes the task, commits the transaction and unlocks the process instance.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Than the process instance is finished.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If an exception occurs when executing a Service Task, the process instance will be unlocked and the job will be retried after configured time? (by some Server??? Or by the same server??)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I unterstand it the concepts right?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 10:23:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-server-environment/m-p/209311#M162441</guid>
      <dc:creator>einszwo</dc:creator>
      <dc:date>2015-04-28T10:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multi server environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-server-environment/m-p/209312#M162442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, that is correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The time to wait is set in the config file of the server, and indeed can be different from server to server (if you really would want that).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 19:12:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-server-environment/m-p/209312#M162442</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-04-28T19:12:00Z</dc:date>
    </item>
  </channel>
</rss>

