Last updated on DECEMBER 01, 2014
Applies to:Oracle SOA Suite - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
On : 188.8.131.52.0 version, Fabric
SOA Suite RemoteInvocationHandlerImpl.createRejectedMessage() handling may hide original exception .
Given this sequence of a BPEL process exposed as an EJB and itself calling another EJB service, if the orchestrated EJB service throws an unexpected expection, the XA transaction is marked for rollback.
The work that is to be rolled back is everything previously done by the BPEL flow.
The rollback itself is happening correctly, but there is an unfortunate side-effect that makes that loses the first exception on the way to the caller: the SOA Suite runtime invokes RemoteInvocationHandlerImpl.createRejectedMessage(). This invocation fails with "SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: Transaction rolled back".
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms