My Oracle Support Banner

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

Last updated on MARCH 04, 2018

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

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
Symptoms
Cause
Solution
References


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