[jboss-user] [jBPM] - Re: Need help with persistence and initialisation
Thomas Colditz
do-not-reply at jboss.com
Mon Jul 29 08:39:09 EDT 2013
Thomas Colditz [https://community.jboss.org/people/fellowtom] created the discussion
"Re: Need help with persistence and initialisation"
To view the discussion, visit: https://community.jboss.org/message/830274#830274
--------------------------------------------------------------
Hi Maciej,
thanks for your reply. Since I'm new to BPM I made a lot of mistakes. So I feel pretty ashamed about the mistake I've done. My process went through several timers, gateways and usertasks. After that it reaches a timer. Then the java-program always terminated. I had a
System.exit(0);
implemented from copy-paste somewhere. But to understand the workflow behaviour better. All tasks are handled in the same thread since a wait-state (usertask,timer,signal,receive) is reached?! So my java-main code was not finished since I reached such a wait-state because its the same thread? By reaching the timer my code goes on with execution and programm ended, right?
At least now its working fine and I'm sorry for wasting time with such mistakes.
Thank you very much.
With kind regards,
tcolditz
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/830274#830274]
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/20130729/35ce64de/attachment-0001.html
More information about the jboss-user
mailing list