[
http://jira.jboss.com/jira/browse/JBESB-1374?page=all ]
Jiri Pechanec reopened JBESB-1374:
----------------------------------
Assignee: Kevin Conner
Unfortunately this is not true,
the code from ActionProcessorMethod info say
catch (final InvocationTargetException ite)
{
final Throwable th = ite.getTargetException() ;
if (th instanceof ActionProcessingException)
{
throw (ActionProcessingException)th ;
}
throw new ActionProcessingException("Unexpected invocation target
exception from processor", th) ;
}
It means that even if action throws RuntimeException this is mercilessly encapculated to
checked exception and thus rollback will not be executed.
Exception handling problem when used integrated jBPM/ESB with JTA
-----------------------------------------------------------------
Key: JBESB-1374
URL:
http://jira.jboss.com/jira/browse/JBESB-1374
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta, Process flow
Affects Versions: 4.2.1
Reporter: Jiri Pechanec
Assigned To: Kevin Conner
When used distributed tranasctions the transaction is rolled back when runtime exception
is thrown. Unfortunately the jBPM encapsulates RuntimeExceptions into JBPMExceptions that
are checked. Thus the rollback is not executed.
Also it needs to be checked there there is no other way in ESB that will cause
RuntimException to be changed to checked Exception.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira