[jboss-user] [jBPM] - Re: Ant start.demo.db script never ends after configure jBPM to use MySQL

Maciej Swiderski do-not-reply at jboss.com
Thu Oct 11 06:09:05 EDT 2012


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Ant start.demo.db script never ends after configure jBPM to use MySQL"

To view the discussion, visit: https://community.jboss.org/message/764325#764325

--------------------------------------------------------------
ant does not finish because it started task service as a java process and it waits till it finishes. I don't think you need to start standalone task server as you use one that is deployed to JBoss. You could remove start.human.task target from depends attribute of start.demo.db task and then ant target should complete after jboss was started.

As it comes to the other part of the thread it seems little bit of misconfiguration of persistence, I believe that you persistence.xml for task uses data source that is defined in standalone.xml which uses jbpm5 user. So if that's the case either create new data source for task db or use same configuration as mentioned in docs - define connection details as properties in persistence.xml and ensure that <nonjta-data-source> or <jta-data-source> is removed from task service persistence.xml

HTH
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20121011/8736b8cf/attachment.html 


More information about the jboss-user mailing list