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&...]