Unable To Commit In-doubt Transactions, Due to "javax.transaction.xa.XAException: javax.jms.TransactionRolledBackException: XA commit() failed" Error (Doc ID 1503566.1)

Last updated on AUGUST 02, 2017

Applies to:

Sun Schema Runtime Environment (SRE) - Version 5.0.5 and later
Information in this document applies to any platform.
****Checked for relevance on 10-Apr-2014****

Symptoms

Customer is facing errors while manually committing the JMS in-doubt transactions.  The following error is logged:
 
javax.transaction.xa.XAException: javax.jms.TransactionRolledBackException: XA commit() failed
  at com.seebeyond.jms.client.STCXAResource.commit(STCXAResource.java:88)
  at XIDRecover.startTest(XIDRecover.java:58)
  at XIDRecover.main(XIDRecover.java:99)

The JMS logs also contain the following errors:

     29-Oct-2012 14:33:00.170 JMS  W 1 (Action.cpp:339): CommitAction() can't XA commit on sessionid=2677918986 because Xid pending in XA commit from sessionid=2677873480
     29-Oct-2012 14:33:00.170 JMS  W 1 (Action.cpp:1109): CommitAction::Execute() - XA commit failed txnid=0
     29-Oct-2012 14:33:00.171 JMS  I 1 (Session.cpp:872): XA rollback for Session sessionid=2677918986, transaction txnid=2680409475



Cause

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 hundreds of Community platforms