-
Bug
-
Resolution: Done
-
Minor
-
1.1.2.Final
-
None
When provider for uri is not available the XA resource enlistment throws NullPointerException. There should be thrown an exception informing that the provider for the uri is not available.
Observed stacktrace
WARN [com.arjuna.ats.jta] (XNIO-1 task-1) ARJUNA016138: Failed to enlist XA resource Subordinate XAResource at http://127.0.0.1:8081/wildfly-services: java.lang.NullPointerException at org.wildfly.transaction.client.SubordinateXAResource.lookup(SubordinateXAResource.java:189) at org.wildfly.transaction.client.SubordinateXAResource.start(SubordinateXAResource.java:132) at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:662) at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:423) at org.wildfly.transaction.client.LocalTransaction.enlistResource(LocalTransaction.java:169) at org.wildfly.transaction.client.XAOutflowedResources.getOrEnlist(XAOutflowedResources.java:62) at org.wildfly.transaction.client.RemoteTransactionContext.outflowTransaction(RemoteTransactionContext.java:222) at org.wildfly.httpclient.ejb.HttpEJBReceiver.writeTransaction(HttpEJBReceiver.java:410) at org.wildfly.httpclient.ejb.HttpEJBReceiver.marshalEJBRequest(HttpEJBReceiver.java:360) at org.wildfly.httpclient.ejb.HttpEJBReceiver.lambda$processInvocation$1(HttpEJBReceiver.java:176) at org.wildfly.httpclient.common.HttpTargetContext$1.lambda$completed$0(HttpTargetContext.java:333) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1349) at java.lang.Thread.run(Thread.java:748) WARN [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016009: Caught:: java.lang.NullPointerException at org.wildfly.transaction.client.SubordinateXAResource.recover(SubordinateXAResource.java:201) at org.wildfly.transaction.client.SubordinateXAResource.recover(SubordinateXAResource.java:197) at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.xaRecoveryFirstPass(XARecoveryModule.java:609) at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkFirstPass(XARecoveryModule.java:201) at com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule.periodicWorkFirstPass(XARecoveryModule.java:146) at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:765) at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:377)
- is caused by
-
WFLY-12184 WFTC is not integrated with http-client and transaction propagation does not work for server to server ejb over HTTP calls
- Closed