[jboss-user] [jBPM] - Re: Not terminating process if timer

Antoine T do-not-reply at jboss.com
Thu Apr 4 07:26:06 EDT 2013


Antoine T [https://community.jboss.org/people/atran] created the discussion

"Re: Not terminating process if timer"

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

--------------------------------------------------------------
Thank you for your answer.

I did as mentionned this:


 
 
Thread.sleep(5000);
 
 
 
 
ksession.dispose();
 


For a process that last around 1s. It works but has some drawbacks:
1) I have to be sure about the maximum duration of a process and it is impossible for some process.
2) Since the duration are approximative, I have to add some margins. I still get the exception if I dispose just before the end node.
3) The process ends later than it should.

However, this timer issue seems not to happen when launched in jBPM-console.
--------------------------------------------------------------

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

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/20130404/e0fee309/attachment.html 


More information about the jboss-user mailing list