[jboss-user] [jBPM] - jbpm5: recovery on app restart

Elisabeth Müller do-not-reply at jboss.com
Thu Jan 5 09:55:58 EST 2012


Elisabeth Müller [http://community.jboss.org/people/muellere] created the discussion

"jbpm5: recovery on app restart"

To view the discussion, visit: http://community.jboss.org/message/644859#644859

--------------------------------------------------------------
Hi all,
I need to migrate fromjBPM 4.1 to jBPM 5. I'm trying to undstand how process instance recovery, and especially timer recovery works, but I'm completely confused.

I do have a server application which starts and processes workflows in parallel. Workflow state and history are persisted in an Oracle database.
The workflow execution moves from one stable state to the next stable state, which can be a timer node.

When I'm shutting down my application and restarting it, i need to build up the knowledge base in jbpm 5 as one of the first actions.
My assumption now is that I have to do +recover each process instance separately+ by calling 
JPAKnowledgedSession.loadStatefulKnowledgeSession(); 

At least I have to do this for all process instances which wait for a timer event to happen.

Is this really correct ? I cannot believe that this is really the case. This means that I cannot parallize my applications anymore, but I have to distribute the differnt process instances among them.

Can someone help me out ?
Elisabeth
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20120105/c6f9a6f2/attachment.html 


More information about the jboss-user mailing list