<?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 User task, Timer Boundary Event And Spring in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/user-task-timer-boundary-event-and-spring/m-p/36594#M15435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;We are having a problem with a boundary timer event not firing. We realize the typical issue for this is &amp;lt;property name="jobExecutorActivate" value="true"/&amp;gt; has not been set to true. That is not the issue here. But after&amp;nbsp;&lt;/P&gt;&lt;P&gt;setting&amp;nbsp;&lt;SPAN&gt;jobExecutorActivate and&amp;nbsp;AsyncExecutorActivate true the application is not getting up, also it does&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;not give any specific error. Please find below configuration for more details&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;@Configuration&lt;/DIV&gt;&lt;DIV&gt;@EnableTransactionManagement&lt;/DIV&gt;&lt;DIV&gt;@EnableWebMvc&lt;/DIV&gt;&lt;DIV&gt;@ComponentScan(basePackages = "com.########.platform")&lt;/DIV&gt;&lt;DIV&gt;@PropertySource(value = { "classpath:activiti.properties" })&lt;/DIV&gt;&lt;DIV&gt;public class ActivitiConfiguration {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;@Autowired&lt;/DIV&gt;&lt;DIV&gt;private DataSource dataSource;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;@Autowired&lt;/DIV&gt;&lt;DIV&gt;@Qualifier("transactionManager")&lt;/DIV&gt;&lt;DIV&gt;private PlatformTransactionManager transactionManager;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;@Value("${activiti.databasetype}")&lt;/DIV&gt;&lt;DIV&gt;private String dbType;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;@Value("${activiti.history}")&lt;/DIV&gt;&lt;DIV&gt;private String history;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;@Value("${activiti.schemaUpdate}")&lt;/DIV&gt;&lt;DIV&gt;private String schemaUpdate;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;@Value("${activiti.transactionsExternallyManaged}")&lt;/DIV&gt;&lt;DIV&gt;private boolean transactionsExternallyManaged;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;@Bean(name = "processEngine")&lt;/DIV&gt;&lt;DIV&gt;@DependsOn({ "processEngineFactoryBean" })&lt;/DIV&gt;&lt;DIV&gt;public ProcessEngine getProcessEngine() throws Exception {&lt;/DIV&gt;&lt;DIV&gt;final ProcessEngine processEngine = this.getProcessEngineFactoryBean().getObject();&lt;/DIV&gt;&lt;DIV&gt;return processEngine;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;@Bean(name = "processEngineFactoryBean")&lt;/DIV&gt;&lt;DIV&gt;public ProcessEngineFactoryBean getProcessEngineFactoryBean() {&lt;/DIV&gt;&lt;DIV&gt;final ProcessEngineFactoryBean processEngine = new ProcessEngineFactoryBean();&lt;/DIV&gt;&lt;DIV&gt;processEngine.setProcessEngineConfiguration(this.getConfiguration());&lt;/DIV&gt;&lt;DIV&gt;return processEngine;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;@Bean&lt;/DIV&gt;&lt;DIV&gt;@DependsOn({ "dataSource", "transactionManager" })&lt;/DIV&gt;&lt;DIV&gt;public SpringProcessEngineConfiguration getConfiguration() {&lt;/DIV&gt;&lt;DIV&gt;final SpringProcessEngineConfiguration config = new SpringProcessEngineConfiguration();&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;config.setAsyncExecutorActivate(true);&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;config.setJobExecutorActivate(true);&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;config.setDataSource(this.dataSource);&lt;/DIV&gt;&lt;DIV&gt;config.setTransactionManager(this.transactionManager);&lt;/DIV&gt;&lt;DIV&gt;config.setDatabaseSchemaUpdate(this.schemaUpdate);&lt;/DIV&gt;&lt;DIV&gt;config.setHistory(this.history);&lt;/DIV&gt;&lt;DIV&gt;config.setTransactionsExternallyManaged(this.transactionsExternallyManaged);&lt;/DIV&gt;&lt;DIV&gt;config.setDatabaseType(this.dbType);&lt;/DIV&gt;&lt;DIV&gt;return config;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When process does not use Timer Boundary event than it works smoothly.&amp;nbsp;We&amp;nbsp;have seen relative problem descriptions on forum, but provided tips don't helped much. One more thing we are using external quartz scheduler in our application.&lt;/DIV&gt;&lt;DIV&gt;Is external quartz scheduler conflict with t&lt;SPAN&gt;imer Boundary event&amp;nbsp;scheduler? Can anyone please help to solve this.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Nov 2017 13:41:03 GMT</pubDate>
    <dc:creator>aniket</dc:creator>
    <dc:date>2017-11-03T13:41:03Z</dc:date>
    <item>
      <title>User task, Timer Boundary Event And Spring</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/user-task-timer-boundary-event-and-spring/m-p/36594#M15435</link>
      <description>&amp;nbsp;We are having a problem with a boundary timer event not firing. We realize the typical issue for this is &amp;lt;property name="jobExecutorActivate" value="true"/&amp;gt; has not been set to true. That is not the issue here. But after&amp;nbsp;setting&amp;nbsp;jobExecutorActivate and&amp;nbsp;AsyncExecutorActivate true the applicati</description>
      <pubDate>Fri, 03 Nov 2017 13:41:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/user-task-timer-boundary-event-and-spring/m-p/36594#M15435</guid>
      <dc:creator>aniket</dc:creator>
      <dc:date>2017-11-03T13:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: User task, Timer Boundary Event And Spring</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/user-task-timer-boundary-event-and-spring/m-p/36595#M15436</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;It could be the external quartz schedule causing this issue. The best way to verify this is&amp;nbsp;to write a simple unit test. I'm not aware of any issues with the boundary timer event not firing. Which version of activiti are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 13:16:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/user-task-timer-boundary-event-and-spring/m-p/36595#M15436</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-11-06T13:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: User task, Timer Boundary Event And Spring</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/user-task-timer-boundary-event-and-spring/m-p/36596#M15437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The problem with the&amp;nbsp;asyncExecutor configuration. We have configured it as follows and it worked &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Bean&lt;BR /&gt; @DependsOn({ "dataSource", "transactionManager" })&lt;BR /&gt; public SpringProcessEngineConfiguration getConfiguration() {&lt;BR /&gt; final SpringProcessEngineConfiguration config = new SpringProcessEngineConfiguration();&lt;BR /&gt; config.setAsyncExecutorActivate(true);&lt;BR /&gt; config.setJobExecutorActivate(true);&lt;BR /&gt; config.setDataSource(this.dataSource);&lt;BR /&gt; config.setTransactionManager(this.transactionManager);&lt;BR /&gt; config.setDatabaseSchemaUpdate(this.schemaUpdate);&lt;BR /&gt; config.setHistory(this.history);&lt;BR /&gt; config.setTransactionsExternallyManaged(this.transactionsExternallyManaged);&lt;BR /&gt; config.setDatabaseType(this.dbType);&lt;BR /&gt; &lt;BR /&gt; // Async Job Executor&lt;BR /&gt; &lt;STRONG&gt;final DefaultAsyncJobExecutor asyncExecutor = new DefaultAsyncJobExecutor();&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;asyncExecutor.setMaxPoolSize(50);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;asyncExecutor.setQueueSize(100);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;config.setAsyncExecutor(asyncExecutor);&lt;/STRONG&gt;&lt;BR /&gt;return config;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp;Ciju for your inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 13:43:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/user-task-timer-boundary-event-and-spring/m-p/36596#M15437</guid>
      <dc:creator>aniket</dc:creator>
      <dc:date>2017-11-06T13:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: User task, Timer Boundary Event And Spring</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/user-task-timer-boundary-event-and-spring/m-p/36597#M15438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, thanks for posting the answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CIju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 13:46:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/user-task-timer-boundary-event-and-spring/m-p/36597#M15438</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-11-06T13:46:00Z</dc:date>
    </item>
  </channel>
</rss>

