Java.Sql.Sqlexception: Xa Error: Xaresource.Xaer_proto Start() In One Of Our Ejb Classes (Doc ID 1285524.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 9.2.2 to 10.3
Oracle WebLogic Server - Version 8.1 to 8.1
Information in this document applies to any platform.
***Checked for relevance on 5-Aug-2013***

Symptoms

You may notice the below exception when using XA Datasource connection :

nested exception is javax.transaction.TransactionRolledbackException: EJB Exception: :
javax.ejb.EJBException: Could not get JDBC Connection; nested exception is java.sql.SQLException:
Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_PROTO start() failed on resource DatasourceTxD': XAER_PROTO : Routine was invoked in an inproper context oracle.jdbc.xa.OracleXAException

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