[jboss-user] [jBPM] - Resume a process after a crash

liliana.iovanovici do-not-reply at jboss.com
Wed Feb 29 07:32:15 EST 2012


liliana.iovanovici [https://community.jboss.org/people/liliana.iovanovici] created the discussion

"Resume a process after a crash"

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

--------------------------------------------------------------
I read the documentation about persistence and process recovery:

"If you configure the engine to use persistence, it will automatically store the runtime state into the database. You do not have to trigger persistence yourself, the engine will take care of this when persistence is enabled. Whenever you invoke the engine, it will make sure that any changes are stored at the end of that invocation, at so-called safe points. Whenever something goes wrong and you restore the engine from the database, you also should not reload the process instances and trigger them manually to resume execution, as process instances will automatically resume execution if they are triggered, like for example by a timer expiring, the completion of a task that was requested by that process instance, or a signal being sent to the process instance. The engine will automatically reload process instances on demand."  

And I have some questions:

1. If I have a process: Start - Timer1- Script1- Timer2- Script2 -Stop and my process crash at Timer1 or Timer2, the jBPM engine will know to automatically to continue this process, and the tasks will be executed, without some thrird party mechanism (which look in databases and get session and process id and send some events) ? 

2.  The jBPM5 engine can be embeded or must be deployed standalone to do process recovery?

3. I dont't understand what means "The engine will automatically reload process instances on demand". If is "on demand" - is still "automatically" ? 

Thanks,
Liliana
--------------------------------------------------------------

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

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/20120229/e6fb4246/attachment.html 


More information about the jboss-user mailing list