[jboss-user] [JBoss jBPM] - Re: What should happen if exception occurs in Action?

clandestino_bgd do-not-reply at jboss.com
Wed Feb 21 13:25:28 EST 2007


Hi Ronald, you are right.
I will try to provide details:
My action class extends springmodules JbpmHandlerProxy which further implements ActionHandler and has execute method:

  | public void execute(ExecutionContext executionContext) throws Exception
  | 
So, my action is invoked synchronously (on node-enter event) and tries to establish connection with some web service.
If web service is not reachable, I have java.net.ConnectException thrown from my action class and propagated to my web tier.

Now, everything would be Ok and expected if I could later delete that process instance, but I can't due to FK constraint.

Log and other details are provided in first post.
Thank you.
Milan 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020143#4020143

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020143



More information about the jboss-user mailing list