"WFTXN0008: Cannot register a synchronization on a remote transaction" during connection enlistment in JBoss EAP
Issue
- Retrieved UserTransaction reference using a JNDI lookup for
txn:UserTransaction
-
When requesting a connection from an EAP managed pool, encountering a
WFTXN0008
error... java.lang.UnsupportedOperationException: WFTXN0008: Cannot register a synchronization on a remote transaction at org.wildfly.transaction.client@1.1.13.Final-redhat-00001//org.wildfly.transaction.client.RemoteTransaction$Unresolved.registerInterposedSynchronization(RemoteTransaction.java:289) at org.wildfly.transaction.client@1.1.13.Final-redhat-00001//org.wildfly.transaction.client.RemoteTransaction.registerInterposedSynchronization(RemoteTransaction.java:174) at org.wildfly.transaction.client@1.1.13.Final-redhat-00001//org.wildfly.transaction.client.ContextTransactionSynchronizationRegistry.registerInterposedSynchronization(ContextTransactionSynchronizationRegistry.java:77) at org.jboss.as.transactions@7.4.0.GA-redhat-00005//org.jboss.as.txn.service.internal.tsr.TransactionSynchronizationRegistryWrapper.registerInterposedSynchronization(TransactionSynchronizationRegistryWrapper.java:76) at org.jboss.ironjacamar.impl@1.4.30.Final-redhat-00001//org.jboss.jca.core.connectionmanager.transaction.TransactionSynchronizer.lock(TransactionSynchronizer.java:309) ...
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.2 cumulative patch (CP) 8 and later 7.2.z
- 7.3 cumulative patch (CP) 1 and later 7.y.z releases/patch levels
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.