JBoss Community

How to handle failed processes/states due to server crashes?

created by Puneet Kankane in jBPM - View the full discussion

Hi,

 

I have a Spring 3.0 + jBPM 4.3 setup, basically a webapplication with embedded jBPM.

 

Basic flow of my application:

On receiving a message on queue, my application creates a process instance based on the process name within message.

Once started my processes interact with other services(SLSB invoked by MDrivenBeans) through jms.

 

I would like to know how I can handle scenarios like:

 

1. Failed process states due to any server crash. How can I restart the processes from the point where they failed?

2. How will transaction be rolled back once my application is up again?

3. How shall I do Exception Handling? May be Custom node? I know this has been asked in other threads too, but I asking it here also because: a) since I am new to jBPM I am not able to understand it, may be a sample example would do. b) I feel exception handling needs to be taken care in such a application where we are interacting with jms & other external services.

 

Please guide me by helping me understand jBPM in such scenarios. I want to build a scalable solution for my project.

 

Thanks in advance,

 

Puneet

Reply to this message by going to Community

Start a new discussion in jBPM at Community