[jboss-user] [jBPM] - jBPM timer not executing/firing

Toshiya Kobayashi do-not-reply at jboss.com
Thu Jun 3 04:53:11 EDT 2010


Toshiya Kobayashi [http://community.jboss.org/people/tkobayas%40redhat.com] replied to the discussion

"jBPM timer not executing/firing"

To view the discussion, visit: http://community.jboss.org/message/545999#545999

--------------------------------------------------------------
[main] DEBUG JobExecutor : starting thread group 'null'...

The message is not important. 'null' is just the name of JobExecutor.

First, I think you don't have to configure your own jbpm.cfg.xml.
jbpm-jpdl.jar:org/jbpm/default.jbpm.cfg.xml has properly configured JobExecutor and will be looked up if you don't have your own jbpm.cfg.xml.

Second, your problem is that your java process ends before JobExecutor captures timer jobs. Try Thread.sleep(10000) at the end of your main method.
This ad-hoc impl is ok if you just want to see how Timer works. But in real use case, you need to make sure the JobExecutorThread is alive. That's why the jbpm distribution contains job executor launcher servlet which run on an application server.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/545999#545999]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100603/4098588f/attachment.html 


More information about the jboss-user mailing list