<?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: Timer Event/Signal Event In Cluster Environment in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/timer-event-signal-event-in-cluster-environment/m-p/232424#M185554</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francesa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activiti on WebSphere can be a bit more difficult. It's because of how WebSphere handles transaction manager. So, you may need to spend some effort on creating a custom transaction manager in order to have Activiti run successfully on WebSphere.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at Heiko's answer in this thread:&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/thread/222675"&gt;Running Activiti on WebSphere Application Server&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;We are currently running Activiti successfully under WebSphere Application Server 8.x. You are right, there are some things to take care of, mainly transaction handling and asynchronous support via managed threads.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;While the first is rather easy as Activiti supports Spring and &lt;SPAN style="color: #3366ff;"&gt;Spring has a generalization of a transaction management which includes the use of WebSphere UnitOfWork Transaction management, simply search for an Activiti setup utilizing the WebSphereUOWTransactionManager and the SpringProcessEngineConfiguration&lt;/SPAN&gt;. This shall lead you into the right direction. If this does not help, simply reply here and I will try to give further information. If your project does not allow spring, you are screwed here. We don't use (and don't like) Spring, and use it only because of its adaption for transaction management in our application designs. We rather stick with CDI which works great in combination with Activiti. For that to work, you'd have to combine the setup found in the SpringProcessEngineConfiguration with those found in the CdiProcessEngineConfiguration which is quite easy as there is not much added here.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try what Heiko suggests and see if it fixes your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Thong Huynh&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Dec 2016 09:48:08 GMT</pubDate>
    <dc:creator>thuynh</dc:creator>
    <dc:date>2016-12-22T09:48:08Z</dc:date>
    <item>
      <title>Timer Event/Signal Event In Cluster Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-event-signal-event-in-cluster-environment/m-p/232421#M185551</link>
      <description>Environment Description: activiti 5.21.0 with spring boot 1.4.0.Activiti is working in cluster environment, which each node has it's own activiti engine, sharing the same database schema.My questions are:If there is a timer event in the process definition, what happens when the timer event reached i</description>
      <pubDate>Thu, 08 Sep 2016 01:45:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-event-signal-event-in-cluster-environment/m-p/232421#M185551</guid>
      <dc:creator>lijinting01</dc:creator>
      <dc:date>2016-09-08T01:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Event/Signal Event In Cluster Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-event-signal-event-in-cluster-environment/m-p/232422#M185552</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;The Activiti job executor will poll the jobs table for executable jobs, so if you have more Engines (with the job executor enabled), more job executors will poll the jobs table. There's a locking mechanism implemented on the database level, so only one job executor can execute a job. So it's designed to work in a clustered environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A signal event will be handled by the Engine where the signal event is thrown. So only one Engine will handle the signal event.&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, 08 Sep 2016 06:58:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-event-signal-event-in-cluster-environment/m-p/232422#M185552</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2016-09-08T06:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Event/Signal Event In Cluster Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-event-signal-event-in-cluster-environment/m-p/232423#M185553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tijs,&lt;/P&gt;&lt;P&gt;I'm new with activity, so, I'm sorry if I write something wrong.&lt;/P&gt;&lt;P&gt;We have deployed activity 5.9 with Websphere Application Server in a clustered environment ( composed by 3 servers )&lt;/P&gt;&lt;P&gt;In our activiti process definition there are three TimerEventDefinition tags in 3 different points of the flow.&lt;/P&gt;&lt;P&gt;It happens that, when a new process instance has been created, the following exception is thrown :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;gt;&amp;gt;Error while closing command context&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; org.activiti.engine.ActivitiOptimisticLockingException: TimerEntity[23398646] was updated by another transaction concurrently&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;at org.activiti.engine.impl.db.DbSqlSession.flushUpdates(DbSqlSession.java:452)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.activiti.engine.impl.db.DbSqlSession.flush(DbSqlSession.java:348)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.activiti.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:149)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.activiti.engine.impl.interceptor.CommandContext.close(CommandContext.java:105)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:49)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.activiti.engine.impl.jobexecutor.AcquireJobsRunnable.run(AcquireJobsRunnable.java:57)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Thread.run(Thread.java:790)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I see the following log lines&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;endAborted throws error event with errorCode 'aborted', but no catching boundary event was defined. Execution will simply be ended (none end event semantics).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the process execution stops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I run the process in a standalone environment , everything works well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, could you help me to check out where the problem is ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, a simplified version of process definition:&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;definitions xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;" xmlns:activiti="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer" target="_blank"&gt;http://activiti.org/bpmn&lt;/A&gt;&lt;SPAN&gt;" xmlns:bpmndi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/BPMN/20100524/DI" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/BPMN/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" xmlns&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;mgdc="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DC" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/DD/20100524/DC&lt;/A&gt;&lt;SPAN&gt;" xmlns&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;mgdi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.omg.org/spec/DD/20100524/DI" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.omg.org/spec/DD/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" typeLanguage="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" expressionLanguage="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/1999/XPath" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/1999/XPath&lt;/A&gt;&lt;SPAN&gt;" targetNamespace="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.activiti.org/test" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.activiti.org/test&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;signal id="maxRetriesReached" name="maxRetriesReached"&amp;gt;&amp;lt;/signal&amp;gt; &lt;BR /&gt;&amp;nbsp; &amp;lt;process id="Test" name="Test"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;startEvent id="start" name="Start"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="maxRetry" name="Max retries" expression="#{maxRetry}" variable="maxRetry" required="true" readable="true" writable="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/startEvent&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endEvent id="endSuccess" name="endSuccess"&amp;gt;&amp;lt;/endEvent&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scriptTask id="initCounter" name="initCounter" scriptFormat="groovy"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script&amp;gt;&amp;lt;![CDATA[def counter = 0&lt;BR /&gt;execution.setVariable("counter", counter)]]&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/scriptTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;exclusiveGateway id="counterCheck" name="counterCheck" default="counterCheckKO"&amp;gt;&amp;lt;/exclusiveGateway&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serviceTask id="processAction" name="Processing" activiti:expression="#{xxxxxx}"&amp;gt;&amp;lt;/serviceTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scriptTask id="incrementCounter" name="Increment counter" scriptFormat="groovy"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script&amp;gt;&amp;lt;![CDATA[counter++]]&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/scriptTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;receiveTask id="waitForResponse" name="Waiting for response"&amp;gt;&amp;lt;/receiveTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;boundaryEvent id="requestTimeout" name="Request timeout" cancelActivity="true" attachedToRef="waitForResponse"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timerEventDefinition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timeDuration&amp;gt;PT2H&amp;lt;/timeDuration&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/timerEventDefinition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/boundaryEvent&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;exclusiveGateway id="reasonCheck" name="Check reason" default="reasonCheckNotFound"&amp;gt;&amp;lt;/exclusiveGateway&amp;gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;boundaryEvent id="retryTimer" name="Retry timer" cancelActivity="true" attachedToRef="waiForRetry"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timerEventDefinition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timeDuration&amp;gt;PT24H&amp;lt;/timeDuration&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/timerEventDefinition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/boundaryEvent&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endEvent id="endMaxRetriesReached" name="endMaxRetriesReached"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;errorEventDefinition errorRef="maxRetriesReached"&amp;gt;&amp;lt;/errorEventDefinition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/endEvent&amp;gt; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;intermediateCatchEvent id="wait1sec2" name="wait1sec2"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timerEventDefinition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timeDuration&amp;gt;PT1S&amp;lt;/timeDuration&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/timerEventDefinition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/intermediateCatchEvent&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;intermediateCatchEvent id="wait1sec" name="wait1sec"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timerEventDefinition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timeDuration&amp;gt;PT1S&amp;lt;/timeDuration&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/timerEventDefinition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/intermediateCatchEvent&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;exclusiveGateway id="actionCheck" name="actionCheck"&amp;gt;&amp;lt;/exclusiveGateway&amp;gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow1" name="" sourceRef="start" targetRef="wait1sec"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow2" name="" sourceRef="initCounter" targetRef="counterCheck"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="counterCheckOK" name="counter&amp;amp;lt;maxRetry " sourceRef="counterCheck" targetRef="processAction"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[#{counter&amp;lt;maxRetry}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;sequenceFlow id="counterCheckKO" name="counter&amp;amp;gt;=maxRetry " sourceRef="counterCheck" targetRef="endMaxRetriesReached"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[#{counter&amp;gt;=maxRetry }]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow4" name="" sourceRef="processAction" targetRef="incrementCounter"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow5" name="" sourceRef="incrementCounter" targetRef="waitForResponse"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="reasonCheckOK" name="ok" sourceRef="reasonCheck" targetRef="endSuccess"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;sequenceFlow id="reasonCheckNotFound" name="notfound" sourceRef="reasonCheck" targetRef="waiForRetry"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[#{reason == null}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;sequenceFlow id="flow8" name="" sourceRef="waiForRetry" targetRef="wait1sec2"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;sequenceFlow id="flow9" name="" sourceRef="retryTimer" targetRef="counterCheck"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/process&amp;gt; &amp;nbsp;&lt;BR /&gt;&amp;lt;/definitions&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 11:52:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-event-signal-event-in-cluster-environment/m-p/232423#M185553</guid>
      <dc:creator>frenci</dc:creator>
      <dc:date>2016-12-09T11:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Event/Signal Event In Cluster Environment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-event-signal-event-in-cluster-environment/m-p/232424#M185554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francesa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activiti on WebSphere can be a bit more difficult. It's because of how WebSphere handles transaction manager. So, you may need to spend some effort on creating a custom transaction manager in order to have Activiti run successfully on WebSphere.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at Heiko's answer in this thread:&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/thread/222675"&gt;Running Activiti on WebSphere Application Server&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;We are currently running Activiti successfully under WebSphere Application Server 8.x. You are right, there are some things to take care of, mainly transaction handling and asynchronous support via managed threads.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;While the first is rather easy as Activiti supports Spring and &lt;SPAN style="color: #3366ff;"&gt;Spring has a generalization of a transaction management which includes the use of WebSphere UnitOfWork Transaction management, simply search for an Activiti setup utilizing the WebSphereUOWTransactionManager and the SpringProcessEngineConfiguration&lt;/SPAN&gt;. This shall lead you into the right direction. If this does not help, simply reply here and I will try to give further information. If your project does not allow spring, you are screwed here. We don't use (and don't like) Spring, and use it only because of its adaption for transaction management in our application designs. We rather stick with CDI which works great in combination with Activiti. For that to work, you'd have to combine the setup found in the SpringProcessEngineConfiguration with those found in the CdiProcessEngineConfiguration which is quite easy as there is not much added here.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try what Heiko suggests and see if it fixes your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Thong Huynh&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 09:48:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-event-signal-event-in-cluster-environment/m-p/232424#M185554</guid>
      <dc:creator>thuynh</dc:creator>
      <dc:date>2016-12-22T09:48:08Z</dc:date>
    </item>
  </channel>
</rss>

