Huisheng Xu [
http://community.jboss.org/people/rebody] replied to the discussion
"Timer trigger in Junit test"
To view the discussion, visit:
http://community.jboss.org/message/534706#534706
--------------------------------------------------------------
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
[
http://community.jboss.org/message/534706#534706]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]