Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5567

JDBC XA - Store COMMIT FAILED: java.io.IOException: Could not remove prepared transaction state from message add for sequenceId

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.10.0, 5.11.0
    • 5.11.1, 5.12.0
    • JDBC, Message Store

    Description

      Occasional commit failure. Stack trace of the form

      WARN  | .129:36295@61616 | XATransaction                    | tivemq.transaction.XATransaction   91 | 121 - org.apache.activemq.activemq-osgi  | Store COMMIT FAILED: 
      java.io.IOException: Could not remove prepared transaction state from message add for sequenceId: 1753267
      	at org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter.doCommitAddOp(DefaultJDBCAdapter.java:1049)
      	at org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.commitAdd(JDBCPersistenceAdapter.java:775)
      	at org.apache.activemq.store.jdbc.JdbcMemoryTransactionStore$1.run(JdbcMemoryTransactionStore.java:108)
      	at org.apache.activemq.store.memory.MemoryTransactionStore$Tx.commit(MemoryTransactionStore.java:101)
      	at org.apache.activemq.store.memory.MemoryTransactionStore.commit(MemoryTransactionStore.java:269)
      	at org.apache.activemq.transaction.XATransaction.storeCommit(XATransaction.java:86)
      	at org.apache.activemq.transaction.XATransaction.commit(XATransaction.java:76)
      

      Attachments

        Activity

          People

            gtully Gary Tully
            gtully Gary Tully
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: