[jboss-user] [jBPM] - Problem in action handler

Koteswar Rao do-not-reply at jboss.com
Mon Aug 27 10:24:04 EDT 2012

Koteswar Rao [https://community.jboss.org/people/mkrao] created the discussion

"Problem in action handler"

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

Hello all,
i am using jBPM3.2.2 for my project work and it is core of my project. I am using EJB 3.0 as the business layer framework and  JPA as the persistence provider. To achieve the transaction isolation, i have disabled the 
jBPM transaction management. so inside jbpm.cfg.xml i have made "isTranasactionenabled" to false for each context so that if some exception happens in my business layer and issued a rollback then everything should be rolled back, but exactly the problem is happening here only whenever an exception happens from jBPM side it is going to exception handler which i configured in processdefinition and if exception happens inside this exception hanlder again then it is ending up in inconsistent state. i.e. business layer work is rolling back and jbpm work is commiting and i have no idea how this is happening????

question 2:
if exception happens in assignment handler of jbpm then from catch block i am throwing that exception to process definition excpetion handler class explicitly, but when exception happens in action handler, it is automatically going to exception handler which i configured in process definition. why is it behaving differently in these two different cases???

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120827/14a2feca/attachment.html 

More information about the jboss-user mailing list