ava.lang.RuntimeException: Got exception during XAResource.end: oracle.jdbc.xa.OracleXAException

GitHub | pdudits | 8 months 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

    Resources of incorrect transaction are delisted on commit

    GitHub | 8 months ago | pdudits
    ava.lang.RuntimeException: Got exception during XAResource.end: oracle.jdbc.xa.OracleXAException

    Root Cause Analysis

    1. ava.lang.RuntimeException

      Got exception during XAResource.end: oracle.jdbc.xa.OracleXAException

      at com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.delistResource()
    2. Embedded GlassFish Web
      JavaEETransactionManagerSimplified.delistResource
      1. com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.delistResource(JavaEETransactionManagerSimplified.java:529)
      1 frame
    3. Connectors Runtime
      ConnectorAllocator$ConnectionListenerImpl.connectionClosed
      1. com.sun.enterprise.resource.rm.ResourceManagerImpl.unregisterResource(ResourceManagerImpl.java:277)
      2. com.sun.enterprise.resource.rm.ResourceManagerImpl.delistResource(ResourceManagerImpl.java:235)
      3. com.sun.enterprise.resource.pool.PoolManagerImpl.resourceClosed(PoolManagerImpl.java:379)
      4. com.sun.enterprise.resource.allocator.ConnectorAllocator$ConnectionListenerImpl.connectionClosed(ConnectorAllocator.java:81)
      4 frames
    4. Embedded GlassFish Web
      ConnectionHolder40.close
      1. com.sun.gjc.spi.ManagedConnectionImpl.connectionClosed(ManagedConnectionImpl.java:783)
      2. com.sun.gjc.spi.base.ConnectionHolder.close(ConnectionHolder.java:214)
      3. com.sun.gjc.spi.jdbc40.ConnectionHolder40.close(ConnectionHolder40.java:591)
      3 frames
    5. EclipseLink (non-OSGi)
      JTASynchronizationListener.beforeCompletion
      1. org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.closeDatasourceConnection(DatabaseAccessor.java:495)
      2. org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.closeConnection(DatasourceAccessor.java:520)
      3. org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.closeConnection(DatabaseAccessor.java:520)
      4. org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.closeJTSConnection(DatasourceAccessor.java:187)
      5. org.eclipse.persistence.sessions.server.ClientSession.releaseJTSConnection(ClientSession.java:168)
      6. org.eclipse.persistence.transaction.AbstractSynchronizationListener.beforeCompletion(AbstractSynchronizationListener.java:175)
      7. org.eclipse.persistence.transaction.JTASynchronizationListener.beforeCompletion(JTASynchronizationListener.java:68)
      7 frames
    6. Embedded GlassFish Web
      EJBLocalObjectInvocationHandlerDelegate.invoke
      1. com.sun.jts.jta.SynchronizationImpl.before_completion(SynchronizationImpl.java:99)
      2. com.sun.jts.CosTransactions.RegisteredSyncs.distributeBefore(RegisteredSyncs.java:141)
      3. com.sun.jts.CosTransactions.TopCoordinator.beforeCompletion(TopCoordinator.java:2548)
      4. com.sun.jts.CosTransactions.CoordinatorTerm.commit(CoordinatorTerm.java:249)
      5. com.sun.jts.CosTransactions.TerminatorImpl.commit(TerminatorImpl.java:231)
      6. com.sun.jts.CosTransactions.CurrentImpl.commit(CurrentImpl.java:622)
      7. com.sun.jts.jta.TransactionManagerImpl.commit(TransactionManagerImpl.java:331)
      8. com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.commitDistributedTransaction(JavaEETransactionManagerJTSDelegate.java:185)
      9. com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.commit(JavaEETransactionManagerSimplified.java:859)
      10. com.sun.ejb.containers.EJBContainerTransactionManager.completeNewTx(EJBContainerTransactionManager.java:721)
      11. com.sun.ejb.containers.EJBContainerTransactionManager.postInvokeTx(EJBContainerTransactionManager.java:517)
      12. com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4569)
      13. com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2075)
      14. com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2045)
      15. com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:220)
      16. com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
      16 frames