org.apache.derby.client.am.XaException: XAER_RMERR : Error executing a XAResource.commit(), server returned XAER_RMERR.

Java.net JIRA | Dies Koper | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    In-flight transactions recovery fails (vs. server crash that should work correctly accordingly to Marina, I have not tried). On Oracle, using the test application and instructions from issue #11409 to create an in-doubt transaction, followed by 'asadmin recover-transactions server', the following error messages are seen in server.log. The database remains in 'in-doubt' state. [#|2010-02-02T12:53:22.678+1100|INFO|glassfishv3.0|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.inbound|_ThreadID=34;_ThreadName=Thread-1;|Recovery of Inbound Transactions started.|#] [#|2010-02-02T12:53:22.694+1100|WARNING|glassfishv3.0|javax.enterprise.resource.resourceadapter.com.sun.enterprise.resource.recovery|_ThreadID=34;_ThreadName=Thread-1;|RAR5005:Error in accessing XA resource with JNDI name [__TimerPool] for recovery|#] [#|2010-02-02T12:53:22.740+1100|WARNING|glassfishv3.0|javax.enterprise.resource.resourceadapter.com.sun.enterprise.resource.recovery|_ThreadID=34;_ThreadName=Thread-1;|RAR5005:Error in accessing XA resource with JNDI name [ora1] for recovery|#] [#|2010-02-02T12:53:22.944+1100|WARNING|glassfishv3.0|javax.enterprise.resource.resourceadapter.com.sun.enterprise.resource.recovery|_ThreadID=34;_ThreadName=Thread-1;|RAR5005:Error in accessing XA resource with JNDI name [ora2] for recovery|#] On Derby, Marina reported seeing another error message: JTS5029: Exception [org.omg.CORBA.INTERNAL: vmcid: 0x0 minor code: 0 completed: Maybe] on [OTSResource rollback] operation during resync. I saw a different error message on Derby too (might have been JTS5029), but unfortunately did not back up the log file.

    Java.net JIRA | 7 years ago | Dies Koper
    org.apache.derby.client.am.XaException: XAER_RMERR : Error executing a XAResource.commit(), server returned XAER_RMERR.
  2. 0

    [GLASSFISH-11522] in-flight transactions recovery has problems - Java.net JIRA

    java.net | 2 years ago
    org.apache.derby.client.am.XaException: XAER_RMERR : Error executing a XAResource.commit(), server returned XAER_RMERR. at org.apache.derby.client.net.NetXAResource.throwXAException(Unknown Source)
  3. 0

    Derby XA, Hibernate 2.1.6, WebSphere 5.1 - Server returned XAER_NOTA at commit time

    objectmix.com | 11 months ago
    org.apache.derby.client.am.XaException: XAER_NOTA : Error executing a XAResource.commit(), Server returned XAER_NOTA at org.apache.derby.client.net.NetXAResource.throwXAException(Unknown Source)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.derby.client.am.XaException

      XAER_RMERR : Error executing a XAResource.commit(), server returned XAER_RMERR.

      at org.apache.derby.client.net.NetXAResource.throwXAException()
    2. Apache Derby Client JDBC Driver
      NetXAResource.commit
      1. org.apache.derby.client.net.NetXAResource.throwXAException(UnknownSource)
      2. org.apache.derby.client.net.NetXAResource.commit(Unknown Source)
      2 frames
    3. Embedded GlassFish Web
      RecoverTransactions.execute
      1. com.sun.gjc.spi.XAResourceImpl.commit(XAResourceImpl.java:80)
      2. com.sun.jts.jtsxa.OTSResourceImpl.commit_one_phase(OTSResourceImpl.java:170)
      3. com.sun.jts.CosTransactions.RecoveryManager.recoverIncompleteTx(RecoveryManager.java:1544)
      4. com.sun.enterprise.transaction.jts.ResourceRecoveryManagerImpl.recoverIncompleteTx(ResourceRecoveryManagerImpl.java:130)
      5. org.glassfish.jts.admin.cli.RecoverTransactions.execute(RecoverTransactions.java:123)
      5 frames