java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAER_PROTO

(Doc ID 2008093.1)

Last updated on AUGUST 03, 2017

Applies to:

Oracle WebLogic Server - Version 8.1 to 10.3.1
Information in this document applies to any platform.

Symptoms

Below exception is seen in logs and the global transaction would not be ended.

Caused by: java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAER_PROTO : Routine was invoked in an inproper context start() failed on resource 'MSD_CONN_POOL': XAER_PROTO : Routine was invoked in an inproper context
oracle.jdbc.xa.OracleXAException
at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:978)
at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:227)

 

Changes

 

Cause

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 hundreds of Community platforms