My Oracle Support Banner

SOA Suite RemoteInvocationHandlerImpl.createRejectedMessage() handling may hide the Original Exception (Doc ID 1949162.1)

Last updated on APRIL 23, 2019

Applies to:

Oracle SOA Suite - Version and later
Information in this document applies to any platform.


On : 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".




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.