<?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: ParallelGateway for Service Task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11253#M4436</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;SPAN&gt;Just raising this question again. Can using "asynchronous continuations" provide this type of 'concurrency' for service tasks on separate sequence flows of a parallel gateway, i.e. the service tasks will be executed concurrently in different background threads ??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Nov 2011 15:36:15 GMT</pubDate>
    <dc:creator>actuser</dc:creator>
    <dc:date>2011-11-07T15:36:15Z</dc:date>
    <item>
      <title>ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11250#M4433</link>
      <description>As we know that ParallelGateway could fork all outgoing sequence flows, create one concurrent execution for each sequence flow.My question here is, ”concurrent"&amp;nbsp;here means&amp;nbsp;"each&amp;nbsp;flow&amp;nbsp;is&amp;nbsp;running&amp;nbsp;in&amp;nbsp;different&amp;nbsp;thread"&amp;nbsp;?</description>
      <pubDate>Tue, 11 Jan 2011 02:05:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11250#M4433</guid>
      <dc:creator>lojian</dc:creator>
      <dc:date>2011-01-11T02:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11251#M4434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, Activiti does not spawn new threads. All outgoing sequence flow are taken in the same transaction (plus all automatic paths that follow). If you were to do that in different threads, this would cause unneeded delays and locking problems.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 13:53:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11251#M4434</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-01-11T13:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11252#M4435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much! &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jan 2011 03:21:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11252#M4435</guid>
      <dc:creator>lojian</dc:creator>
      <dc:date>2011-01-14T03:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11253#M4436</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;SPAN&gt;Just raising this question again. Can using "asynchronous continuations" provide this type of 'concurrency' for service tasks on separate sequence flows of a parallel gateway, i.e. the service tasks will be executed concurrently in different background threads ??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 15:36:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11253#M4436</guid>
      <dc:creator>actuser</dc:creator>
      <dc:date>2011-11-07T15:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11254#M4437</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;We're currently implementing a patch for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now you can only have one async continuation after the parallel gateway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you have multiple outgoing paths with async continuations, you'll be running into errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But we have a patch on one of the branches right now that overcomes this. So it will certainly be in the Activiti 5.9 release.&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>Tue, 08 Nov 2011 11:59:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11254#M4437</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-11-08T11:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11255#M4438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for that info.&amp;nbsp; Will there be any limitations with this fix like, for example, imposing a limit on the number of asynchronous continuations (e.g. 2) that can be modelled after a parallel gateway ?&amp;nbsp; We have a requirement to run several service tasks concurrently in a part of our workflow, so at the moment this seems to be the only way possible that we could meet that requirement using the activiti workflow engine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 14:17:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11255#M4438</guid>
      <dc:creator>actuser</dc:creator>
      <dc:date>2011-11-08T14:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11256#M4439</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;I also would like to see the removal of the restriction on number of async continuations after a parallel gateway. Hopefully the fix will make it into next release as you say.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A related question… are there any similar restrictions on &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; (i) the number of concurrent user tasks after a parallel gateway ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; (ii) the the number of concurrent receive tasks after a parallel gateway ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 10:54:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11256#M4439</guid>
      <dc:creator>jsher</dc:creator>
      <dc:date>2011-11-15T10:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11257#M4440</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;No after the patch there will be no limitations.&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>Tue, 15 Nov 2011 14:59:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11257#M4440</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-11-15T14:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11258#M4441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;no limitations besides maybe the number of concurrent job executors?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 17:09:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11258#M4441</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-11-15T17:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11259#M4442</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;SPAN&gt;Is there any way I can get the code for this patch in order to merge it into our Activiti 5.8 code base ?&amp;nbsp; I'd like to do some testing with our model before the Activiti 5.9 release. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 09:44:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11259#M4442</guid>
      <dc:creator>actuser</dc:creator>
      <dc:date>2012-01-23T09:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11260#M4443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it still planned to include this patch in the 5.9 release ?&amp;nbsp; From a preliminary test using the trunk code it seems that it is still not possible to successfully run multiple "asynchronous continuations" in their own separate thread in the parallel gateway.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 12:00:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11260#M4443</guid>
      <dc:creator>actuser</dc:creator>
      <dc:date>2012-01-27T12:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11261#M4444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes this should be possible in the 5.9 release. Can you share a test that doesn't work as it's supposed to?&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>Fri, 27 Jan 2012 17:06:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11261#M4444</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-01-27T17:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11262#M4445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will check this with the developer.&amp;nbsp; The initial test showed that the 'Asynchronous' tasks on the Gateway executed successfully, but they executed "in-sequence" rather than concurrently. He said that the same thread was reused for each&amp;nbsp; task execution, so maybe it was a configuration problem in our test.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will come back to you on this…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 12:20:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11262#M4445</guid>
      <dc:creator>actuser</dc:creator>
      <dc:date>2012-01-30T12:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11263#M4446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the threading behaviour differ when using the "StandaloneInMemProcessEngineConfiguration" ?&amp;nbsp;&amp;nbsp; In this test the same thread from the thread-pool is used to execute the 'asynchronous continuation' task logic (just a system.out), so they execute in sequence. This is the same behaviour as for 'synchronous' tasks. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just to clarify - should the patch allow the running of "Asynchronous Continuation" tasks on a gateway in their own separate thread ? So we should see multiple threads running concurrently in the gateway ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/John.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 12:57:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11263#M4446</guid>
      <dc:creator>actuser</dc:creator>
      <dc:date>2012-01-30T12:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11264#M4447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;5.9 is in two weeks, so I guess this feature should be included already, can someone confirm? I've checked out the code but still not sure if its there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Guy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 09:11:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11264#M4447</guid>
      <dc:creator>guy_gavriely</dc:creator>
      <dc:date>2012-02-14T09:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11265#M4448</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;I get the latest snapshot of Activiti 5.9, and I run sucessfully some workflow with asynchronous tasks and parallel gateway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However when I grow up the bench by starting 1000 workflows with the same ProcessEngine and changing the size of the thread pool size to 1024 (min = max = queuesize) in the DefaultJobExecutor class, I get some racing exceptions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SEVERE: Error while closing command context&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.NullPointerException&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope.execute(AtomicOperationTransitionCreateScope.java:34)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:77)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.jobexecutor.AsyncContinuationJobHandler.execute(AsyncContinuationJobHandler.java:35)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:78)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.persistence.entity.MessageEntity.execute(MessageEntity.java:29)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:67)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:46)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.Thread.run(Thread.java:619)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And some times:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SEVERE: Error while closing command context&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.ActivitiException: No job found with id '3323'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:58)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:46)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.Thread.run(Thread.java:619)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess this exceptions don't appear with the default configuration because there are only 10 threads running concurrently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you aware of this issues ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 17:31:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11265#M4448</guid>
      <dc:creator>feecon</dc:creator>
      <dc:date>2012-02-17T17:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11266#M4449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I try to minimize an unit test to reproduce these previous exceptions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can change variables NB_PARALLEL_WORKFLOWS and threadPoolSize.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hoping it can help…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 17:02:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11266#M4449</guid>
      <dc:creator>feecon</dc:creator>
      <dc:date>2012-02-20T17:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: ParallelGateway for Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11267#M4450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;no limitations besides maybe the number of concurrent job executors?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; You're right. The number of Job Executor theads limits the number of jobs executed in parallel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Does the threading behaviour differ when using the "StandaloneInMemProcessEngineConfiguration" ?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; No.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I try to minimize an unit test to reproduce these previous exceptions.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; Your tasks have not set activiti:exclusive="false". Hence, one JobExecutor thread will execute all jobs sequentially:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Since activiti 5.9, the JobExecutor makes sure that jobs from a single process instance are never executed concurrently.&lt;BR /&gt;[…]&lt;BR /&gt;All asynchronous continuations and timer events are thus exclusive by default. In addition, if you want a job to be non-exclusive, you can configure it as such using activiti:exclusive="false".&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; See also: &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/index.html#exclusiveJobs" rel="nofollow noopener noreferrer"&gt;Activiti Userguide: Exclusive Jobs&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, this doesn't explain the exceptions you got.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 22:54:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallelgateway-for-service-task/m-p/11267#M4450</guid>
      <dc:creator>falko_menge</dc:creator>
      <dc:date>2012-04-25T22:54:47Z</dc:date>
    </item>
  </channel>
</rss>

