<?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 start event slacking when multiplice processes are running in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216249#M169379</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;Could you provide jUnit test for this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.activiti.org/content/sticky-how-write-unit-test" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/content/sticky-how-write-unit-test&lt;/A&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, 22 Feb 2016 09:31:13 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2016-02-22T09:31:13Z</dc:date>
    <item>
      <title>Timer start event slacking when multiplice processes are running</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216247#M169377</link>
      <description>I have a timer startevent that starts a service task every 10 seconds.the service task launches another independent asynchronous process that takes 2-3 days to finish.Well, this works fine for the first 3-4 minutes.. after that, the timer startevent begins to launch itself approx 1-2 minute&amp;nbsp; instead</description>
      <pubDate>Fri, 19 Feb 2016 14:40:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216247#M169377</guid>
      <dc:creator>robinho</dc:creator>
      <dc:date>2016-02-19T14:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Timer start event slacking when multiplice processes are running</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216248#M169378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It has nothing to do with the memory, I noticed&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Feb 2016 15:12:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216248#M169378</guid>
      <dc:creator>robinho</dc:creator>
      <dc:date>2016-02-20T15:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Timer start event slacking when multiplice processes are running</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216249#M169379</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;Could you provide jUnit test for this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.activiti.org/content/sticky-how-write-unit-test" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/content/sticky-how-write-unit-test&lt;/A&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, 22 Feb 2016 09:31:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216249#M169379</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-02-22T09:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Timer start event slacking when multiplice processes are running</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216250#M169380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Which version? There used to be a version in the past where this indeed could happen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, as Martin says, a unit test would help a lot here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 09:40:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216250#M169380</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-02-24T09:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Timer start event slacking when multiplice processes are running</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216251#M169381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After the launch of the first 2 asynchronous processes, the timer slacks to a 1-2minute interval instead of 15seconds.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the latest actviti enterprise version&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The process is really easy. TimerStartevent (15sec interval)=&amp;gt;servicetask(that launches another asynchronous process) =&amp;gt; end event&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried the following code in my servicetask, but without success:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; processEngine.getProcessEngineConfiguration().setAsyncExecutorActivate(true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; processEngine.getProcessEngineConfiguration().setAsyncExecutorEnabled(true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AsyncExecutor asyncExecutor =&amp;nbsp; processEngine.getProcessEngineConfiguration().getAsyncExecutor();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asyncExecutor.setMaxAsyncJobsDuePerAcquisition(100);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asyncExecutor.setMaxTimerJobsPerAcquisition(1000);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asyncExecutor.setDefaultAsyncJobAcquireWaitTimeInMillis(2000);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asyncExecutor.setDefaultTimerJobAcquireWaitTimeInMillis(2000);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asyncExecutor.setRetryWaitTimeInMillis(2000);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; processEngine.getProcessEngineConfiguration().setAsyncExecutor(asyncExecutor);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; RuntimeService runtimeService = processEngine.getRuntimeService();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 15:25:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216251#M169381</guid>
      <dc:creator>robinho</dc:creator>
      <dc:date>2016-02-26T15:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Timer start event slacking when multiplice processes are running</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216252#M169382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm, that should just work … which version of Activiti are you using? Can you post your xml so we can verify it with the same process definition as you're seeing the problem with?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 20:42:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216252#M169382</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-03-01T20:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Timer start event slacking when multiplice processes are running</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216253#M169383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using Alfresco Activiti Enterprise BPM Suitemaven 1.4.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I posted my xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for taking a look!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Info: MessagePoller should start an asynchronous TTSProcess every 15 seconds (this works for the first 2 asynchronous processes) After that, timer interval slacks to 1-2 minutes (the messagePoller process is taking quite a long time to finish)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 11:53:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216253#M169383</guid>
      <dc:creator>robinho</dc:creator>
      <dc:date>2016-03-02T11:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Timer start event slacking when multiplice processes are running</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216254#M169384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I redesigned the 2 processes into 1 (which maybe a better option, or a even a solution).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunatly, the exact same problem is occuring..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See attachment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 11:50:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216254#M169384</guid>
      <dc:creator>robinho</dc:creator>
      <dc:date>2016-03-03T11:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Timer start event slacking when multiplice processes are running</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216255#M169385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've tried reproducing it here with a start timer event with R/PT15S, that goes to a script task that prints out a message …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but for me it nicely prints it out every 15 seconds:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mon Mar 07 12:10:41 CET 2016 Hello world!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mon Mar 07 12:10:56 CET 2016 Hello world!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mon Mar 07 12:11:11 CET 2016 Hello world!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mon Mar 07 12:11:26 CET 2016 Hello world!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mon Mar 07 12:11:41 CET 2016 Hello world!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mon Mar 07 12:11:56 CET 2016 Hello world!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mon Mar 07 12:12:11 CET 2016 Hello world!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mon Mar 07 12:12:26 CET 2016 Hello world!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've attached my simple test (rename to .zip). Could you give it a spin on your env and post back what you see?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 11:15:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216255#M169385</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-03-07T11:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Timer start event slacking when multiplice processes are running</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216256#M169386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You made a synchronous task. I am talking about an asynchronous task. I used your example, made it asynchronous, created a thread.sleep on the service task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot find in the activiti documentation how to increase the async jobs, at the moment it is set at 2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the timer starts 2 processes waits until the sleep on the servicetask is done, and then starts another 2. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the common way to increase async jobs in alfresco activiti enterprise?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; processEngine.getProcessEngineConfiguration().setAsyncExecutorActivate(true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; processEngine.getProcessEngineConfiguration().setAsyncExecutorEnabled(true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AsyncExecutor asyncExecutor =&amp;nbsp; processEngine.getProcessEngineConfiguration().getAsyncExecutor();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asyncExecutor.setMaxAsyncJobsDuePerAcquisition(100);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asyncExecutor.setMaxTimerJobsPerAcquisition(1000);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asyncExecutor.setDefaultAsyncJobAcquireWaitTimeInMillis(2000);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asyncExecutor.setDefaultTimerJobAcquireWaitTimeInMillis(2000);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asyncExecutor.setRetryWaitTimeInMillis(2000);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; processEngine.getProcessEngineConfiguration().setAsyncExecutor(asyncExecutor);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not working…&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 15:50:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216256#M169386</guid>
      <dc:creator>robinho</dc:creator>
      <dc:date>2016-03-07T15:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Timer start event slacking when multiplice processes are running</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216257#M169387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a ProcessEngineConfigurationConfigurer to tweak the process engine config.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked at your message poller and that is using a timer start event … exactly as what I'm using (im not using an async task, but a regular start timer event).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But … I'm not sure what you are aiming at here … you make the threads sleep? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 08:27:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/timer-start-event-slacking-when-multiplice-processes-are-running/m-p/216257#M169387</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-03-11T08:27:44Z</dc:date>
    </item>
  </channel>
</rss>

