<?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: Enhance Async Task Executor in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33590#M14203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I Use the 7-201709-EA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can download my project sample :&amp;nbsp;&lt;A class="link-titled" href="https://github.com/gggrittt/activiti-async-executor-failure.git" title="https://github.com/gggrittt/activiti-async-executor-failure.git" rel="nofollow noopener noreferrer"&gt;GitHub - gggrittt/activiti-async-executor-failure&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be there is an incompatibilty between activiti 5 bpmn and 7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Oct 2017 17:50:04 GMT</pubDate>
    <dc:creator>guillame_grisel</dc:creator>
    <dc:date>2017-10-16T17:50:04Z</dc:date>
    <item>
      <title>Enhance Async Task Executor</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33588#M14201</link>
      <description>Hello,I have noticed that the async task executor can be enhanced by removing some thread sleep in class like AcquireAsyncJobsDueRunnable or AcquireTimerJobsRunnable.I have already submit this enhancement some times ago (activiti version 5.0.17.), I use to test with the protocol described in this po</description>
      <pubDate>Sat, 14 Oct 2017 10:38:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33588#M14201</guid>
      <dc:creator>guillame_grisel</dc:creator>
      <dc:date>2017-10-14T10:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Enhance Async Task Executor</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33589#M14202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Guillaume,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Are you using&amp;nbsp;&lt;SPAN&gt;7-201709-EA ?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;What kind of of issues are you having when&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;unacquiring job ?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #727174;"&gt;Can you please&amp;nbsp;provide a reproducer?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 07:14:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33589#M14202</guid>
      <dc:creator>salaboy</dc:creator>
      <dc:date>2017-10-16T07:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Enhance Async Task Executor</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33590#M14203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I Use the 7-201709-EA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can download my project sample :&amp;nbsp;&lt;A class="link-titled" href="https://github.com/gggrittt/activiti-async-executor-failure.git" title="https://github.com/gggrittt/activiti-async-executor-failure.git" rel="nofollow noopener noreferrer"&gt;GitHub - gggrittt/activiti-async-executor-failure&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be there is an incompatibilty between activiti 5 bpmn and 7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 17:50:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33590#M14203</guid>
      <dc:creator>guillame_grisel</dc:creator>
      <dc:date>2017-10-16T17:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Enhance Async Task Executor</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33591#M14204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Guillaume,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I appreciate the project, but unless you explain what are you trying to achieve with that, I will need to spend some time to understand your test, that contains a main class instead of assertions, so it is pretty time consume to understand what is doing.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;There might be an incompatibility, so let's try to find out what it is.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Can you please explain a little bit of the context of what you are trying to achieve?&amp;nbsp;&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; font-size: 14px;"&gt;Are you trying to benchmark the job executor? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;because in my experience and as part of Activiti Cloud, we are going to delegate those responsibilities to&amp;nbsp;production ready components. It might be a good time, if you are looking at the EA of 7 you might want to look at&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://salaboy.com/2017/10/12/rfc-activiti-cloud-connectors/" title="https://salaboy.com/2017/10/12/rfc-activiti-cloud-connectors/" rel="nofollow noopener noreferrer"&gt;RFC: Activiti Cloud Connectors – Salaboy (Open Source Knowledge)&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;It is a very good time to get involved and shape the future of the project, so if you are interested get in touch.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 15:17:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33591#M14204</guid>
      <dc:creator>salaboy</dc:creator>
      <dc:date>2017-10-17T15:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Enhance Async Task Executor</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33592#M14205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried your example with 6.0.0 and it shows the same issue, so there might be something fundamentally wrong with the way that the test is executing jobs and executing them. Did you manage to get it working with 6.0.0?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 15:32:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33592#M14205</guid>
      <dc:creator>salaboy</dc:creator>
      <dc:date>2017-10-17T15:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Enhance Async Task Executor</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33593#M14206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No problem, don't invest time in obsolete version !&lt;/P&gt;&lt;P&gt;I read your all blog posts with attention, I'm really impressed by the recent improvements and progress on Activiti 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concerning my enhancement, I thought it's a bad idea to instantiate threads to retrieve jobs to treats and expired&amp;nbsp;jobs (timerJobAcquisitionThread,asyncJobAcquisitionThread &amp;amp;&amp;nbsp;asyncJobAcquisitionThread). It will be better to use&amp;nbsp;a java.util.concurrent.ScheduledExecutorService &amp;nbsp;or org.springframework.scheduling.TaskScheduler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll provide a sample soon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 05:16:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33593#M14206</guid>
      <dc:creator>guillame_grisel</dc:creator>
      <dc:date>2017-10-19T05:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Enhance Async Task Executor</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33594#M14207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds great!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 08:14:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33594#M14207</guid>
      <dc:creator>salaboy</dc:creator>
      <dc:date>2017-10-19T08:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Enhance Async Task Executor</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33595#M14208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is :&amp;nbsp;&lt;A class="link-titled" href="https://github.com/gggrittt/activiti-scheduled-jobs-acquisition.git" title="https://github.com/gggrittt/activiti-scheduled-jobs-acquisition.git" rel="nofollow noopener noreferrer"&gt;GitHub - gggrittt/activiti-scheduled-jobs-acquisition&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I basically just replace the Thread.sleep in *runnable by a scheduled execution with the help&amp;nbsp;of java.util.concurrent.ScheduledExecutorService.&lt;/P&gt;&lt;P&gt;Spring implementation can be easily derived.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not a big improvement, but I hope it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concerning my initial issue, it has already been reported&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/thread/233238"&gt;postgres&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/thread/233568"&gt;NPE - JobEntityManagerImpl.delete(JobEntityManagerImpl.java:35) ~[activiti-engine-6.0.0.jar!/:6.0.0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Oct 2017 18:08:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33595#M14208</guid>
      <dc:creator>guillame_grisel</dc:creator>
      <dc:date>2017-10-22T18:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Enhance Async Task Executor</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33596#M14209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you got a solution for the NPE- JobEntityImpl.delete issue?&lt;/P&gt;&lt;P&gt;I am unable to find any help on that issue.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 10:49:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/enhance-async-task-executor/m-p/33596#M14209</guid>
      <dc:creator>lovik</dc:creator>
      <dc:date>2018-05-21T10:49:39Z</dc:date>
    </item>
  </channel>
</rss>

