In an environment 2 clusters:
- cluster A - JBoss EAP 7.2.0
- cluster B - JBoss EAP 6.4.21
and having the application from EAP 7.2 calling EJBs on EAP 6.4.21 using remote-outbound-connections, the following WARN message is printed in the EAP 7.2 side server.log:
[Server:eap7-c1n1] 15:48:59,004 WARN [com.arjuna.ats.jta] (Transaction Reaper Worker 0) ARJUNA016045: attempted rollback of < formatId=131077, gtrid_length=37, bqual_length=36, tx_uid=0:ffff7f000001:1e3c8bf6:5ca21653:42, node_name=eap7-c1n1, branch_uid=0:ffff7f000001:1e3c8bf6:5ca21653:45, subordinatenodename=null, eis_name=unknown eis name > (Subordinate XAResource at remote://192.168.178.28:6447) failed with exception code XAException.XAER_RMFAIL: javax.transaction.xa.XAException: WFTXN0034: Failed to acquire a connection for this operation [Server:eap7-c1n1] at org.wildfly.transaction.client.provider.remoting.RemotingRemoteTransactionPeer.getPeerIdentityXA(RemotingRemoteTransactionPeer.java:94) [Server:eap7-c1n1] at org.wildfly.transaction.client.provider.remoting.RemotingRemoteTransactionPeer$1.rollback(RemotingRemoteTransactionPeer.java:148) [Server:eap7-c1n1] at org.wildfly.transaction.client.SubordinateXAResource.rollback(SubordinateXAResource.java:174) [Server:eap7-c1n1] at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelAbort(XAResourceRecord.java:330) [Server:eap7-c1n1] at com.arjuna.ats.arjuna.coordinator.BasicAction.doAbort(BasicAction.java:3023) [Server:eap7-c1n1] at com.arjuna.ats.arjuna.coordinator.BasicAction.doAbort(BasicAction.java:3002) [Server:eap7-c1n1] at com.arjuna.ats.arjuna.coordinator.BasicAction.Abort(BasicAction.java:1674) [Server:eap7-c1n1] at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.cancel(TwoPhaseCoordinator.java:124) [Server:eap7-c1n1] at com.arjuna.ats.arjuna.AtomicAction.cancel(AtomicAction.java:215) [Server:eap7-c1n1] at com.arjuna.ats.arjuna.coordinator.TransactionReaper.doCancellations(TransactionReaper.java:381) [Server:eap7-c1n1] at com.arjuna.ats.internal.arjuna.coordinator.ReaperWorkerThread.run(ReaperWorkerThread.java:78) [Server:eap7-c1n1] Caused by: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed: [Server:eap7-c1n1] JBOSS-LOCAL-USER: javax.security.sasl.SaslException: ELY05128: Failed to read challenge file [Caused by java.io.FileNotFoundException: /home/jbaesner/work/jboss-eap-6.4/domain/tmp/auth/local8420842771291506008.challenge (No such file or directory)] [Server:eap7-c1n1] at org.jboss.remoting3.remote.ClientConnectionOpenListener.allMechanismsFailed(ClientConnectionOpenListener.java:109) [Server:eap7-c1n1] at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:446) [Server:eap7-c1n1] at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:242) [Server:eap7-c1n1] at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [Server:eap7-c1n1] at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) [Server:eap7-c1n1] at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89) [Server:eap7-c1n1] at org.xnio.nio.WorkerThread.run(WorkerThread.java:591) [Server:eap7-c1n1] at ...asynchronous invocation...(Unknown Source) [Server:eap7-c1n1] at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:571) [Server:eap7-c1n1] at org.jboss.remoting3.EndpointImpl.connect(EndpointImpl.java:537) [Server:eap7-c1n1] at org.jboss.remoting3.ConnectionInfo$NotShared.getConnection(ConnectionInfo.java:274) [Server:eap7-c1n1] at org.jboss.remoting3.ConnectionInfo.getConnection(ConnectionInfo.java:55) [Server:eap7-c1n1] at org.jboss.remoting3.EndpointImpl.doGetConnection(EndpointImpl.java:488) [Server:eap7-c1n1] at org.jboss.remoting3.EndpointImpl.getConnectedIdentity(EndpointImpl.java:434) [Server:eap7-c1n1] at org.jboss.remoting3.UncloseableEndpoint.getConnectedIdentity(UncloseableEndpoint.java:52) [Server:eap7-c1n1] at org.wildfly.transaction.client.provider.remoting.RemotingRemoteTransactionPeer.getPeerIdentity(RemotingRemoteTransactionPeer.java:87) [Server:eap7-c1n1] at org.wildfly.transaction.client.provider.remoting.RemotingRemoteTransactionPeer.getPeerIdentityXA(RemotingRemoteTransactionPeer.java:92) [Server:eap7-c1n1] ... 10 more [Server:eap7-c1n1] Suppressed: javax.security.sasl.SaslException: ELY05128: Failed to read challenge file [Caused by java.io.FileNotFoundException: /home/jbaesner/work/jboss-eap-6.4/domain/tmp/auth/local8420842771291506008.challenge (No such file or directory)] [Server:eap7-c1n1] at org.wildfly.security.sasl.localuser.LocalUserClient.evaluateMessage(LocalUserClient.java:108) [Server:eap7-c1n1] at org.wildfly.security.sasl.util.AbstractSaslParticipant.evaluateMessage(AbstractSaslParticipant.java:199) [Server:eap7-c1n1] at org.wildfly.security.sasl.util.AbstractSaslClient.evaluateChallenge(AbstractSaslClient.java:79) [Server:eap7-c1n1] at org.wildfly.security.sasl.util.AbstractDelegatingSaslClient.evaluateChallenge(AbstractDelegatingSaslClient.java:54) [Server:eap7-c1n1] at org.wildfly.security.sasl.util.PrivilegedSaslClient.lambda$evaluateChallenge$0(PrivilegedSaslClient.java:55) [Server:eap7-c1n1] at java.security.AccessController.doPrivileged(Native Method) [Server:eap7-c1n1] at org.wildfly.security.sasl.util.PrivilegedSaslClient.evaluateChallenge(PrivilegedSaslClient.java:55) [Server:eap7-c1n1] at org.jboss.remoting3.remote.ClientConnectionOpenListener$Authentication.lambda$handleEvent$0(ClientConnectionOpenListener.java:650) [Server:eap7-c1n1] at org.jboss.remoting3.EndpointImpl$TrackingExecutor.lambda$execute$0(EndpointImpl.java:949) [Server:eap7-c1n1] at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) [Server:eap7-c1n1] at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985) [Server:eap7-c1n1] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487) [Server:eap7-c1n1] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378) [Server:eap7-c1n1] at java.lang.Thread.run(Thread.java:748) [Server:eap7-c1n1] Caused by: java.io.FileNotFoundException: /home/jbaesner/work/jboss-eap-6.4/domain/tmp/auth/local8420842771291506008.challenge (No such file or directory) [Server:eap7-c1n1] at java.io.FileInputStream.open0(Native Method) [Server:eap7-c1n1] at java.io.FileInputStream.open(FileInputStream.java:195) [Server:eap7-c1n1] at java.io.FileInputStream.<init>(FileInputStream.java:138) [Server:eap7-c1n1] at org.wildfly.security.sasl.localuser.LocalUserClient.evaluateMessage(LocalUserClient.java:94) [Server:eap7-c1n1] ... 13 more [Server:eap7-c1n1]
This recovery should work without any WARN message.
- duplicates
-
JBEAP-16149 [GSS](7.2.z) JBREM000308: Authentication failed (no mechanisms left) when EJB invocations across servers done with programatic auth
- Closed