<?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: Configured Async Executor doesn't work in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6353#M3102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries Jurgen. I thin the defaults are listed in the DefaultAsyncJobExecutor.java class just in case you forget to configure the properties in the engine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad you got it working.&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Feb 2017 20:09:46 GMT</pubDate>
    <dc:creator>gdharley</dc:creator>
    <dc:date>2017-02-20T20:09:46Z</dc:date>
    <item>
      <title>Configured Async Executor doesn't work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6345#M3094</link>
      <description>Hi,i've got a question about configurate the async executor.I've setup a Process Engine with my own async executor with this code&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rocessEngineConfigurationImpl processEngineConfiguration = (ProcessEngineConfigurationImpl) ProcessEngineConfiguration.createStandaloneProcessEngineConfiguration();  Def</description>
      <pubDate>Fri, 10 Feb 2017 15:47:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6345#M3094</guid>
      <dc:creator>vulpis</dc:creator>
      <dc:date>2017-02-10T15:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Configured Async Executor doesn't work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6346#M3095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't look like you have enabled the AsyncExecutor:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;processEngineConfiguration.setAsyncExecutorEnabled(true);&lt;BR /&gt; processEngineConfiguration.setAsyncExecutorActivate(true);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you will need both of these in order to override the default job executor.&lt;/P&gt;&lt;P&gt;You should be able to tell from the logs.&lt;/P&gt;&lt;P&gt;Greg&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>Fri, 10 Feb 2017 16:20:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6346#M3095</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-02-10T16:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Configured Async Executor doesn't work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6347#M3096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep. This worked. Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have another question. &amp;nbsp;Before it worked i started the process in eclipse and i saw it on the log in tomcat/wildfly. Now&amp;nbsp;it seems that the process is executed&amp;nbsp;in eclipse supported by the activiti libraries and independent from the engine i deployed on the application server. In fact the application server does not even have to run for executing my process now... That's not the scenario i want. Actually i want to have a jar and bar deployment on an application server like tomcat or wildfly&amp;nbsp;and the process should be executed from a async executor which was configurated by me on the server.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this makes sense. It is not for a productive system. I want an comparison between different bpms for my study and activti has now an execution witch is different and therefore not comparable...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So as a question: How can i alter or configure the async executor which is used from the engine which is deployed on a tomcat with the activiti-explorer.war?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Feb 2017 12:29:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6347#M3096</guid>
      <dc:creator>vulpis</dc:creator>
      <dc:date>2017-02-11T12:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Configured Async Executor doesn't work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6348#M3097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&amp;nbsp;&lt;B&gt;Jürgen Krauß&lt;/B&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;SPAN style="color: #727174; background-color: #ffffff;"&gt;How can i alter or configure the async executor which is used from the engine which is deployed on a tomcat with the activiti-explorer.war?&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe your question has been asked and answered by the following threads:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Suggested by Joram:&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/thread/224422"&gt;How build activiti-explorer sources to file war&lt;/A&gt;&amp;nbsp;, basically just clone the code, change it and rebuild with Maven.&lt;/P&gt;&lt;P&gt;- Another approach by&amp;nbsp;&lt;B&gt;gregdavisfromnj _&lt;/B&gt;&amp;nbsp;:&amp;nbsp;&lt;A __default_attr="223416" __jive_macro_name="thread" _jive_internal="true" class="jive_macro_thread jive_macro link-titled" href="https://community.alfresco.com/thread/223416-eclipse-setup-for-activiti-explorer" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp;, this is more advanced approach with Maven Overlays.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&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>Mon, 13 Feb 2017 16:07:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6348#M3097</guid>
      <dc:creator>thuynh</dc:creator>
      <dc:date>2017-02-13T16:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Configured Async Executor doesn't work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6349#M3098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep ok. Thanks. I thought about that. Hoped there would be another way then alter the code by itself and build my own warfile. Something like a config file or something. I will look into this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 16:50:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6349#M3098</guid>
      <dc:creator>vulpis</dc:creator>
      <dc:date>2017-02-13T16:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Configured Async Executor doesn't work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6350#M3099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cloned the project from git and changed the variables in DefaultAsyncJobExecutor in package org.activiti.impl.asyncexecutor tor following:&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9,0pt;"&gt;&lt;PRE style="font-size: 9,0pt;"&gt;&lt;SPAN style="color: #808080;"&gt;/** The minimal number of threads that are kept alive in the threadpool for job execution */&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;protected int &lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;corePoolSize &lt;/SPAN&gt;= &lt;SPAN style="color: #0000ff;"&gt;10&lt;/SPAN&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #808080;"&gt;/** The maximum number of threads that are kept alive in the threadpool for job execution */&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;protected int &lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;maxPoolSize &lt;/SPAN&gt;= &lt;SPAN style="color: #0000ff;"&gt;10&lt;/SPAN&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #808080;"&gt;/** The size of the queue on which jobs to be executed are placed */&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;protected int &lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;queueSize &lt;/SPAN&gt;= &lt;SPAN style="color: #0000ff;"&gt;100&lt;/SPAN&gt;;&lt;BR /&gt;&lt;BR /&gt;If i deploy the new warfile and start the server the console says:&lt;BR /&gt;Creating executor service with corePoolSize 2...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is there another location where the software can pull that 2 for corePoolSize from?&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 17:15:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6350#M3099</guid>
      <dc:creator>vulpis</dc:creator>
      <dc:date>2017-02-20T17:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Configured Async Executor doesn't work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6351#M3100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, as indicated in my first reply.&lt;/P&gt;&lt;P&gt;This is set in the process engine configuration.&lt;/P&gt;&lt;P&gt;Greg&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>Mon, 20 Feb 2017 17:22:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6351#M3100</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-02-20T17:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Configured Async Executor doesn't work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6352#M3101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yay. It worked. Why is the configuration in&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;DefaultAsyncJobExecutor.java existing? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Think i'm finished now with Activiti. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Thanks a lot to Greg Harley and Thong Huynh. You guys gave me a great guidance for my work.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 17:55:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6352#M3101</guid>
      <dc:creator>vulpis</dc:creator>
      <dc:date>2017-02-20T17:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Configured Async Executor doesn't work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6353#M3102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries Jurgen. I thin the defaults are listed in the DefaultAsyncJobExecutor.java class just in case you forget to configure the properties in the engine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad you got it working.&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 20:09:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/configured-async-executor-doesn-t-work/m-p/6353#M3102</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-02-20T20:09:46Z</dc:date>
    </item>
  </channel>
</rss>

