My Oracle Support Banner

oracle.jdbc.xa.OracleXAException: XAErr (-3) and ORA-24774 SQLErr (0) When Using Transactions (Doc ID 2453277.1)

Last updated on SEPTEMBER 28, 2018

Applies to:

JDBC - Version 12.2.0.0.0 and later
Information in this document applies to any platform.

Symptoms


The following exception is reported by an application deployed to WebLogic 12.2.1.3.0 using JDBC driver 12.2.0.1:

java.lang.RuntimeException: CONTAINER:atg.repository.RepositoryException; SOURCE:java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMERR start() failed on resource 'weblogic.jdbc.jta.DataSource': XAER_RMERR : A resource manager error has occurred in the transaction branch
oracle.jdbc.xa.OracleXAException: XAErr (-3): A resource manager error has occurred in the transaction branch. ORA-24774 SQLErr (0)
at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1112)
at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:265)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:835)
at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1395)
at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1326)
at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:298)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:680)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:499)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1778)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1680)
at weblogic.jdbc.jta.DataSource.getConnectionInternal(DataSource.java:520)
at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:497)
at weblogic.jdbc.common.internal.RmiDataSource.getConnectionInternal(RmiDataSource.java:614)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:594)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:587)

...

Caused by: java.sql.SQLException: ORA-24774: cannot switch to specified transaction

at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:494)
at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:441)
at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:436)
at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:1061)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:623)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:252)
at oracle.jdbc.driver.T4CTTIOtxse.doOTXSE(T4CTTIOtxse.java:166)
at oracle.jdbc.driver.T4CXAResource.doStart(T4CXAResource.java:207)
at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:260)

Changes

 

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!


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