ERRORCODE=-4470 and XAException.XAER_RMFAIL for DB2 connection in EAP

Solution Unverified - Updated -

Issue

  • Randomly we got xa exception when connection to db2
  • Below message is logged in the server.log :
WARN  [com.arjuna.ats.jta.logging.loggerI18N] (Thread-19) [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery  got XA exception com.ibm.db2.jcc.b.ym: [jcc][t4][10401][12066][3.50.152] XA exception: XAER_RMFAIL : [jcc][t4][10335][11391][3.50.152] Invalid operation: Connection is closed. 
ERRORCODE=-4470, SQLSTATE=08003 ERRORCODE=-4228, SQLSTATE=null, XAException.XAER_RMFAIL
  • We got below issues during DB-connection :
errorcode=-4470, sqlstate=08003 errorcode=-4228, sqlstate=null

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.