Community

Timer trigger in Junit test

reply from Huisheng Xu in jBPM - View the full discussion

Hi Sameeh:

  You can import jbpm.jobexecutor.cfg.xml  to the jbpm.cfg.xml, then when you startup the ProcessEngine, JobExecutor will startup automaticly. The configuration is as following:

 

 

 

 

  If you set hibernate 'show_sql=true', you will see many SQL on the console, it is said that JobExecutor is trying to find Job from database.

 

  The JobExecutor needn't a servlet container like tomcat, because it is no more than a TheadPool. You can try like this in your unit test.

Reply to this message by going to Community

Start a new discussion in jBPM at Community