03-02-2011 06:03 AM
03-02-2011 08:47 AM
03-02-2011 09:21 AM
<property name="jobExecutorActivate" value="true" /> in activiti.cfg.xml and all my timers are running as expected, as I can confirm from the ACT_RU_JOB table. However, once I shut down my JBoss server JobExecutor stops running, as expected. 03-02-2011 12:31 PM
03-03-2011 04:37 AM
03-03-2011 08:36 AM
03-03-2011 10:21 AM
03-03-2011 11:06 AM
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
<property name="dataSource" ref="dataSource"/>
<property name="transactionManager" ref="transactionManager"/>
<property name="databaseSchemaUpdate" value="true"/>
<property name="jobExecutorActivate" value="true"/>
</bean>
<bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean">
<property name="processEngineConfiguration" ref="processEngineConfiguration"/>
</bean>
then there is small caveat: processEngine is not created when applicationContext is created…<bean id="runtimeService" factory-bean="processEngine" factory-method="getRuntimeService"/>
03-04-2011 03:55 AM
03-04-2011 11:00 AM
Restarting timers is such a self-evident requirement for an Activiti engine and I am surprised by the deathly silence from the team.
Maybe your engine is lazily initialised? Best practice is to initialise it in eg a ServletContextListener (or something alike depending on the framework you like)
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.