<?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 Start JobExecuter ourselves in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/start-jobexecuter-ourselves/m-p/68432#M43866</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 have Activiti running inside our ear (enterprise application) deployed within Weblogic. And it is working very smoothly. However we do not intend to deploy the Activiti rest or Explorer applications (not allowed by network security). So we need to start the JobExecutor ourselves within our application (maybe after we start the engine - buildProcessEngine()). Is there any way to do this and any sample?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rue&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Aug 2011 22:41:36 GMT</pubDate>
    <dc:creator>ruedesilva</dc:creator>
    <dc:date>2011-08-23T22:41:36Z</dc:date>
    <item>
      <title>Start JobExecuter ourselves</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-jobexecuter-ourselves/m-p/68432#M43866</link>
      <description>Hi,We have Activiti running inside our ear (enterprise application) deployed within Weblogic. And it is working very smoothly. However we do not intend to deploy the Activiti rest or Explorer applications (not allowed by network security). So we need to start the JobExecutor ourselves within our app</description>
      <pubDate>Tue, 23 Aug 2011 22:41:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-jobexecuter-ourselves/m-p/68432#M43866</guid>
      <dc:creator>ruedesilva</dc:creator>
      <dc:date>2011-08-23T22:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Start JobExecuter ourselves</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-jobexecuter-ourselves/m-p/68433#M43867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This works with setting in activiti.cfg.xml. I had Tomcat also running so the Job executor there picked it up instead of the one in Weblogic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rue&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 04:26:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-jobexecuter-ourselves/m-p/68433#M43867</guid>
      <dc:creator>ruedesilva</dc:creator>
      <dc:date>2011-08-24T04:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Start JobExecuter ourselves</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-jobexecuter-ourselves/m-p/68434#M43868</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;Just add the following line to the activiti.cfg.xml or Spring configuration you are using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;property name="jobExecutorActivate" value="true" /&amp;gt;&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>Wed, 24 Aug 2011 06:52:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-jobexecuter-ourselves/m-p/68434#M43868</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-08-24T06:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Start JobExecuter ourselves</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-jobexecuter-ourselves/m-p/68435#M43869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One thing you could do is setting the jobExecutorActive to false and, when needed, call this (warning, using impl classes at your own risk):&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;((ProcessEngineImpl)processEngine).getProcessEngineConfiguration().getJobExecutor().start();&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 07:33:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-jobexecuter-ourselves/m-p/68435#M43869</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-08-24T07:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Start JobExecuter ourselves</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/start-jobexecuter-ourselves/m-p/68436#M43870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I was using &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;property name="jobExecutorActivate" value="true" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem was I had Tomcat also running with Weblogic and the JobExecutor in Tomcat fired first, so I was thinking the one in Weblogic was not working. Once I stopped Tomcat (which I do not need) the Weblogic JobExecutor worked. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But thanks for the tip on ((ProcessEngineImpl)processEngine).getProcessEngineConfiguration().getJobExecutor().start();&amp;nbsp;&amp;nbsp; - This is really good to know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Rue&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 13:21:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/start-jobexecuter-ourselves/m-p/68436#M43870</guid>
      <dc:creator>ruedesilva</dc:creator>
      <dc:date>2011-08-24T13:21:44Z</dc:date>
    </item>
  </channel>
</rss>

