Hello Martin,
thanks for your advice.
In Eclipse I set the log level to debug and found the following sql-statement regarding the table ACT_RU_JOB.
In my understanding is that the selection who collects and starts the open events.
<code> select * from ACT_RU_JOB RES LEFT OUTER JOIN ACT_RU_EXECUTION PI ON PI.ID_ = RES.PROCESS_INSTANCE_ID_ where (RES.TYPE_ = 'timer') and (RES.DUEDATE_ is not null) and (RES.DUEDATE_ < '2014-06-18 20:05:11.069') and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2014-06-18 20:05:11.069') and (RES.RETRIES_ > 0) and ( (RES.EXECUTION_ID_ is null) or (PI.SUSPENSION_STATE_ = 1) ) order by DUEDATE_ ;
</code>
I started my process definition in activiti explorer again and extracted the row which was created from table ACT_RU-JOB as you mentioned above.
Extracted row:
<code>
INSERT INTO "act_ru_job" VALUES ('28', '1', 'timer', null, null, 't', '27', '23', 'timertest:1:116', '3', null, null, '2014-06-17 20:16:00.52', null, 'timer-intermediate-transition', 'timerintermediatecatchevent1');
</code>
But still nothing visible happens.
How can I check if the – “job acquisition thread” is running inside from tomcat? Or is there something missing in my activiti-standalone-context.xml
<code>
<bean id="demoDataGenerator" class="org.activiti.explorer.demo.DemoDataGenerator" init-method="init">
<property name="processEngine" ref="processEngine" />
<!– Set following properties to false if certain demo data is not wanted –>
<property name="createDemoUsersAndGroups" value="true" />
<property name="createDemoProcessDefinitions" value="false" />
<property name="createDemoModels" value="false" />
<property name="generateReportData" value="true" />
</bean>
<bean id="dbProperties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="classpath:db.properties" />
<!– Allow other PropertyPlaceholderConfigurer to run as well –>
<property name="ignoreUnresolvablePlaceholders" value="true" />
</bean>
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
<property name="driverClassName" value="${jdbc.driver}" />
<property name="url" value="${jdbc.url}" />
<property name="username" value="${jdbc.username}" />
<property name="password" value="${jdbc.password}" />
<property name="defaultAutoCommit" value="false" />
</bean>
<bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="dataSource" />
</bean>
<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" />
<property name="mailServerPort" value="26"/>
<property name="mailServerHost" value="192.168.1.10"/>
<property name="customFormTypes">
<list>
<bean class="org.activiti.explorer.form.UserFormType"/>
<bean class="org.activiti.explorer.form.ProcessDefinitionFormType"/>
<bean class="org.activiti.explorer.form.MonthFormType"/>
</list>
</property>
</bean>
<bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean" destroy-method="destroy">
<property name="processEngineConfiguration" ref="processEngineConfiguration" />
</bean>
<bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService" />
<bean id="runtimeService" factory-bean="processEngine" factory-method="getRuntimeService" />
<bean id="taskService" factory-bean="processEngine" factory-method="getTaskService" />
<bean id="historyService" factory-bean="processEngine" factory-method="getHistoryService" />
<bean id="managementService" factory-bean="processEngine" factory-method="getManagementService" />
<bean id="identityService" factory-bean="processEngine" factory-method="getIdentityService" />
<bean id="activitiLoginHandler" class="org.activiti.explorer.ui.login.DefaultLoginHandler">
<property name="identityService" ref="identityService" />
</bean>
</beans>
</code>
Many thanks
Werner