Error: "*** SQLJDBC_XA DTC_ERROR Context: xa_prepare, state=1, StatusCode:-4 (0xFFFFFFFC) ***"

Solution Verified - Updated -

Issue

The following error can be observed in the server log file:

10/01/2022 09:08:05,611 WARN  [com.arjuna.ats.jta] (default task-1) ARJUNA016041: prepare on < formatId=131077, gtrid_length=38, bqual_length=36, tx_uid=0:ffffac1b02d8:5e72ce89:61d8e46a:bb7285, node_name=some-node, branch_uid=0:ffffac1b02d8:5e72ce89:61d8e46a:bb72a3, subordinatenodename=null, eis_name=unknown eis name > (org.jboss.jca.adapters.jdbc.xa.XAManagedConnection@4504351e) failed with exception XAException.XAER_NOTA: javax.transaction.xa.XAException: Error en la función PREPARE:. El estado es: -4. Error: "*** SQLJDBC_XA DTC_ERROR Context: xa_prepare, state=1, StatusCode:-4 (0xFFFFFFFC) ***"
    at com.sqlserver:v94j11//com.microsoft.sqlserver.jdbc.SQLServerXAResource.DTC_XA_Interface(SQLServerXAResource.java:658)
    at com.sqlserver:v94j11//com.microsoft.sqlserver.jdbc.SQLServerXAResource.prepare(SQLServerXAResource.java:795)
    at org.jboss.ironjacamar.jdbcadapters@1.4.22.Final-redhat-00001//org.jboss.jca.adapters.jdbc.xa.XAManagedConnection.prepare(XAManagedConnection.java:341)
    at org.jboss.jts//com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelPrepare(XAResourceRecord.java:214)
    at org.jboss.jts//com.arjuna.ats.arjuna.coordinator.BasicAction.doPrepare(BasicAction.java:2664)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.3
  • Microsoft SQL Server

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content