My Oracle Support Banner

WLS 10.3: Intermittent XA error when using EJB(CMP) (Doc ID 1118264.1)

Last updated on AUGUST 26, 2020

Applies to:

Oracle WebLogic Server - Version 10.3 to 10.3.6
Information in this document applies to any platform.


In WebLogic 10.3, a CMP EJB sometimes throws the below exception:

Caused by: com.x.common.utils.LoggableEJBException: nested exception is: javax.ejb.TransactionRolledbackLocalException: EJB Exception:; nested exception is: java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMFAIL start() failed on resource 'TX_OPDB_RAC': XAER_RMFAIL : Resource manager is unavailable
javax.transaction.xa.XAException: Internal error: XAResource 'TX_OPDB_RAC' is unavailable
at weblogic.transaction.internal.XAResourceDescriptor.checkResource(
at weblogic.transaction.internal.XAResourceDescriptor.startResourceUse(
at weblogic.transaction.internal.XAServerResourceInfo.start(
at weblogic.transaction.internal.XAServerResourceInfo.xaStart(
at weblogic.transaction.internal.XAServerResourceInfo.enlist(
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(
at weblogic.jdbc.jta.DataSource.enlist(
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(
at weblogic.jdbc.jta.DataSource.getConnection(
at weblogic.jdbc.jta.DataSource.connect(
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(
at weblogic.ejb.container.cmp.rdbms.RDBMSPersistenceManager.getConnection(

As observed and reported, the problem happens intermittently and only happens when the transaction takes longer time.




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

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