1 Reply Latest reply: Jun 27, 2012 2:07 PM by Arik RSS

    XA error: XAResource.XAER_NOTA start

    945343
      I am with the following error:

      com.indracompany.core.exception.SystemException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.1.2.v20101206-r8635): org.eclipse.persistence.exceptions.DatabaseException
      Internal Exception: java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_NOTA start() failed on resource 'weblogic.jdbc.jta.DataSource': XAER_NOTA : The XID is not valid
      oracle.jdbc.xa.OracleXAException
           at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1616)
           at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:336)
           at weblogic.jdbc.wrapper.VendorXAResource.start(VendorXAResource.java:50)
           at weblogic.jdbc.jta.DataSource.start(DataSource.java:729)
           at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1231)
           at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1164)
           at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:285)
           at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:522)
           at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:449)
           at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1599)
           at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1503)
           at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:446)
           at weblogic.jdbc.jta.DataSource.connect(DataSource.java:403)
           at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:364)
           at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:126)
           at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:94)
           at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
           at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:327)
           at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:291)
           at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.reconnect(DatasourceAccessor.java:558)
           at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.reconnect(DatabaseAccessor.java:1433)