My Oracle Support Banner

Distributed Transaction to Same Instance Fails: ORA-2051 (Doc ID 283616.1)

Last updated on APRIL 09, 2020

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 9.2 to 11.2]
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.


In WebSphere® Application Server 4.0.x, the following exception might be issued when Oracleis
enlisted in an XA transaction:


A WebSphere JTS trace reveals that the transaction is rolled back due to the following exception:

Encountered an XA resource error during an XA end operation: {0} {1}
at oracle.jdbc.xa.OracleXAResource.checkError(
at oracle.jdbc.xa.client.OracleXAResource.end(

This indicates:
XAER_RMERR resource error -3 for Oracle 9i, or
"Io exception: End of TNS data channel", (SQLState=null, vendorCode=17002) for Oracle 8.1.7


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

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

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