Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-249

Confusing exception stack trace for failed authentication (8x supressed AuthenticationException)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.0.0.CR6
    • None
    • None

    Description

      I have simple scenario:

      Client --calls--> EJB 1 (EntryBean) on Server 1 --calls--> EJB 2 (WhoAmIBean) on Server 2
      

      Both EJBs are protected and the Client correctly provides credentials for EJB 1 on Server 1. The EJB 1 doesn't provide any credentials for outgoing call to EJB 2 on Server 2.

      Then the Exception stack trace on EJB 1 contains 8times supressed AuthenticationException:

      Čvc 10, 2017 10:21:52 DOP. org.wildfly.security.Version <clinit>
      INFO: ELY00001: WildFly Elytron version 1.1.0.CR2
      Čvc 10, 2017 10:21:52 DOP. org.wildfly.naming.client.Version <clinit>
      INFO: WildFly Naming version 1.0.0.CR1
      Čvc 10, 2017 10:21:52 DOP. org.xnio.Xnio <clinit>
      INFO: XNIO version 3.5.0.CR2
      Čvc 10, 2017 10:21:52 DOP. org.xnio.nio.NioXnio <clinit>
      INFO: XNIO NIO Implementation Version 3.5.0.CR2
      Čvc 10, 2017 10:21:53 DOP. org.jboss.remoting3.EndpointImpl <clinit>
      INFO: JBoss Remoting version 5.0.0.CR4
      Čvc 10, 2017 10:21:53 DOP. org.jboss.ejb.client.EJBClient <clinit>
      INFO: JBoss EJB Client version 4.0.0.CR5
      WhoAmI: entry
      DoubleWhoAmI (creds) NO_REAUTHN: [entry, org.jboss.ejb.client.RequestSendFailedException: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      	at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.handleFailed(RemoteEJBReceiver.java:91)
      	at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.handleFailed(RemoteEJBReceiver.java:72)
      	at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:215)
      	at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
      	at org.jboss.remoting3.EndpointImpl$TrackingExecutor.lambda$execute$0(EndpointImpl.java:898)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:748)
      	Suppressed: org.jboss.ejb.client.RequestSendFailedException: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      		... 8 more
      	Caused by: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      		at org.jboss.remoting3.ConnectionPeerIdentityContext.doAuthenticate(ConnectionPeerIdentityContext.java:369)
      		at org.jboss.remoting3.ConnectionPeerIdentityContext.authenticate(ConnectionPeerIdentityContext.java:174)
      		at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:477)
      		at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:466)
      		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:208)
      		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
      		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
      		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
      		at org.xnio.AbstractIoFuture$CompleteState.withNotifier(AbstractIoFuture.java:132)
      		at org.xnio.AbstractIoFuture.addNotifier(AbstractIoFuture.java:570)
      		at org.jboss.remoting3.EndpointImpl.doGetConnection(EndpointImpl.java:466)
      		at org.jboss.remoting3.EndpointImpl.getConnectedIdentity(EndpointImpl.java:405)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.lambda$getConnection$1(RemoteEJBReceiver.java:180)
      		at java.security.AccessController.doPrivileged(Native Method)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.getConnection(RemoteEJBReceiver.java:180)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.processInvocation(RemoteEJBReceiver.java:119)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:458)
      		at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocation(RemotingEJBClientInterceptor.java:51)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocation(DiscoveryEJBClientInterceptor.java:84)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:81)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.wildfly.common.context.Contextual.runExConsumer(Contextual.java:203)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequestInitial(EJBClientInvocationContext.java:306)
      		at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:170)
      		at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:107)
      		at com.sun.proxy.$Proxy49.getCallerPrincipal(Unknown Source)
      		at org.wildfly.test.seccontext.entry.EntryBean.lambda$doubleWhoAmI$0(EntryBean.java:49)
      		at org.wildfly.test.seccontext.shared.IdentityUtils.switchIdentity(IdentityUtils.java:32)
      		at org.wildfly.test.seccontext.entry.EntryBean.doubleWhoAmI(EntryBean.java:52)
      		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      		at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      		at java.lang.reflect.Method.invoke(Method.java:498)
      		at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
      		at org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:90)
      		at org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:101)
      		at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:40)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
      		at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:264)
      		at org.jboss.as.ejb3.tx.CMTTxInterceptor.notSupported(CMTTxInterceptor.java:318)
      		at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:238)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
      		at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)
      		at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.ejb3.remote.EJBRemoteTransactionPropagatingInterceptor.processInvocation(EJBRemoteTransactionPropagatingInterceptor.java:89)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.ejb3.security.IdentityOutflowInterceptor.processInvocation(IdentityOutflowInterceptor.java:73)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.ejb3.security.RolesAllowedInterceptor.processInvocation(RolesAllowedInterceptor.java:63)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.ejb3.security.SecurityDomainInterceptor.processInvocation(SecurityDomainInterceptor.java:44)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.ejb3.deployment.processors.EjbSuspendInterceptor.processInvocation(EjbSuspendInterceptor.java:57)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:60)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:438)
      		at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:609)
      		at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:57)
      		at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      		at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
      		at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)
      		at org.wildfly.security.auth.server.SecurityIdentity.runAsFunctionEx(SecurityIdentity.java:380)
      		at org.jboss.as.ejb3.remote.AssociationImpl.invokeWithIdentity(AssociationImpl.java:483)
      		at org.jboss.as.ejb3.remote.AssociationImpl.invokeMethod(AssociationImpl.java:478)
      		at org.jboss.as.ejb3.remote.AssociationImpl.lambda$receiveInvocationRequest$0(AssociationImpl.java:182)
      		... 3 more
      	Suppressed: org.jboss.ejb.client.RequestSendFailedException: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      		... 8 more
      	Caused by: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      		at org.jboss.remoting3.ConnectionPeerIdentityContext.doAuthenticate(ConnectionPeerIdentityContext.java:369)
      		at org.jboss.remoting3.ConnectionPeerIdentityContext.authenticate(ConnectionPeerIdentityContext.java:174)
      		at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:477)
      		at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:466)
      		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:208)
      		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
      		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
      		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
      		at org.xnio.AbstractIoFuture$CompleteState.withNotifier(AbstractIoFuture.java:132)
      		at org.xnio.AbstractIoFuture.addNotifier(AbstractIoFuture.java:570)
      		at org.jboss.remoting3.EndpointImpl.doGetConnection(EndpointImpl.java:466)
      		at org.jboss.remoting3.EndpointImpl.getConnectedIdentity(EndpointImpl.java:405)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.lambda$getConnection$1(RemoteEJBReceiver.java:180)
      		at java.security.AccessController.doPrivileged(Native Method)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.getConnection(RemoteEJBReceiver.java:180)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.processInvocation(RemoteEJBReceiver.java:119)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:458)
      		at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocation(RemotingEJBClientInterceptor.java:51)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocation(DiscoveryEJBClientInterceptor.java:84)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:81)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.wildfly.common.context.Contextual.runExConsumer(Contextual.java:203)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequestInitial(EJBClientInvocationContext.java:306)
      		at org.jboss.ejb.client.EJBClientInvocationContext.retryOperation(EJBClientInvocationContext.java:995)
      		... 3 more
      	Suppressed: org.jboss.ejb.client.RequestSendFailedException: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      		... 8 more
      	Caused by: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      		at org.jboss.remoting3.ConnectionPeerIdentityContext.doAuthenticate(ConnectionPeerIdentityContext.java:369)
      		at org.jboss.remoting3.ConnectionPeerIdentityContext.authenticate(ConnectionPeerIdentityContext.java:174)
      		at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:477)
      		at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:466)
      		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:208)
      		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
      		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
      		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
      		at org.xnio.AbstractIoFuture$CompleteState.withNotifier(AbstractIoFuture.java:132)
      		at org.xnio.AbstractIoFuture.addNotifier(AbstractIoFuture.java:570)
      		at org.jboss.remoting3.EndpointImpl.doGetConnection(EndpointImpl.java:466)
      		at org.jboss.remoting3.EndpointImpl.getConnectedIdentity(EndpointImpl.java:405)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.lambda$getConnection$1(RemoteEJBReceiver.java:180)
      		at java.security.AccessController.doPrivileged(Native Method)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.getConnection(RemoteEJBReceiver.java:180)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.processInvocation(RemoteEJBReceiver.java:119)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:458)
      		at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocation(RemotingEJBClientInterceptor.java:51)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocation(DiscoveryEJBClientInterceptor.java:84)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:81)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.wildfly.common.context.Contextual.runExConsumer(Contextual.java:203)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequestInitial(EJBClientInvocationContext.java:306)
      		at org.jboss.ejb.client.EJBClientInvocationContext.retryOperation(EJBClientInvocationContext.java:995)
      		... 3 more
      	Suppressed: org.jboss.ejb.client.RequestSendFailedException: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      		... 8 more
      	Caused by: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      		at org.jboss.remoting3.ConnectionPeerIdentityContext.doAuthenticate(ConnectionPeerIdentityContext.java:369)
      		at org.jboss.remoting3.ConnectionPeerIdentityContext.authenticate(ConnectionPeerIdentityContext.java:174)
      		at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:477)
      		at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:466)
      		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:208)
      		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
      		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
      		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
      		at org.xnio.AbstractIoFuture$CompleteState.withNotifier(AbstractIoFuture.java:132)
      		at org.xnio.AbstractIoFuture.addNotifier(AbstractIoFuture.java:570)
      		at org.jboss.remoting3.EndpointImpl.doGetConnection(EndpointImpl.java:466)
      		at org.jboss.remoting3.EndpointImpl.getConnectedIdentity(EndpointImpl.java:405)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.lambda$getConnection$1(RemoteEJBReceiver.java:180)
      		at java.security.AccessController.doPrivileged(Native Method)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.getConnection(RemoteEJBReceiver.java:180)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.processInvocation(RemoteEJBReceiver.java:119)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:458)
      		at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocation(RemotingEJBClientInterceptor.java:51)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocation(DiscoveryEJBClientInterceptor.java:84)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:81)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.wildfly.common.context.Contextual.runExConsumer(Contextual.java:203)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequestInitial(EJBClientInvocationContext.java:306)
      		at org.jboss.ejb.client.EJBClientInvocationContext.retryOperation(EJBClientInvocationContext.java:995)
      		... 3 more
      	Suppressed: org.jboss.ejb.client.RequestSendFailedException: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      		... 8 more
      	Caused by: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      		at org.jboss.remoting3.ConnectionPeerIdentityContext.doAuthenticate(ConnectionPeerIdentityContext.java:369)
      		at org.jboss.remoting3.ConnectionPeerIdentityContext.authenticate(ConnectionPeerIdentityContext.java:174)
      		at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:477)
      		at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:466)
      		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:208)
      		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
      		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
      		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
      		at org.xnio.AbstractIoFuture$CompleteState.withNotifier(AbstractIoFuture.java:132)
      		at org.xnio.AbstractIoFuture.addNotifier(AbstractIoFuture.java:570)
      		at org.jboss.remoting3.EndpointImpl.doGetConnection(EndpointImpl.java:466)
      		at org.jboss.remoting3.EndpointImpl.getConnectedIdentity(EndpointImpl.java:405)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.lambda$getConnection$1(RemoteEJBReceiver.java:180)
      		at java.security.AccessController.doPrivileged(Native Method)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.getConnection(RemoteEJBReceiver.java:180)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.processInvocation(RemoteEJBReceiver.java:119)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:458)
      		at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocation(RemotingEJBClientInterceptor.java:51)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocation(DiscoveryEJBClientInterceptor.java:84)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:81)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.wildfly.common.context.Contextual.runExConsumer(Contextual.java:203)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequestInitial(EJBClientInvocationContext.java:306)
      		at org.jboss.ejb.client.EJBClientInvocationContext.retryOperation(EJBClientInvocationContext.java:995)
      		... 3 more
      	Suppressed: org.jboss.ejb.client.RequestSendFailedException: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      		... 8 more
      	Caused by: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      		at org.jboss.remoting3.ConnectionPeerIdentityContext.doAuthenticate(ConnectionPeerIdentityContext.java:369)
      		at org.jboss.remoting3.ConnectionPeerIdentityContext.authenticate(ConnectionPeerIdentityContext.java:174)
      		at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:477)
      		at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:466)
      		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:208)
      		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
      		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
      		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
      		at org.xnio.AbstractIoFuture$CompleteState.withNotifier(AbstractIoFuture.java:132)
      		at org.xnio.AbstractIoFuture.addNotifier(AbstractIoFuture.java:570)
      		at org.jboss.remoting3.EndpointImpl.doGetConnection(EndpointImpl.java:466)
      		at org.jboss.remoting3.EndpointImpl.getConnectedIdentity(EndpointImpl.java:405)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.lambda$getConnection$1(RemoteEJBReceiver.java:180)
      		at java.security.AccessController.doPrivileged(Native Method)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.getConnection(RemoteEJBReceiver.java:180)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.processInvocation(RemoteEJBReceiver.java:119)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:458)
      		at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocation(RemotingEJBClientInterceptor.java:51)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocation(DiscoveryEJBClientInterceptor.java:84)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:81)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.wildfly.common.context.Contextual.runExConsumer(Contextual.java:203)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequestInitial(EJBClientInvocationContext.java:306)
      		at org.jboss.ejb.client.EJBClientInvocationContext.retryOperation(EJBClientInvocationContext.java:995)
      		... 3 more
      	Suppressed: org.jboss.ejb.client.RequestSendFailedException: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      		... 8 more
      	Caused by: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      		at org.jboss.remoting3.ConnectionPeerIdentityContext.doAuthenticate(ConnectionPeerIdentityContext.java:369)
      		at org.jboss.remoting3.ConnectionPeerIdentityContext.authenticate(ConnectionPeerIdentityContext.java:174)
      		at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:477)
      		at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:466)
      		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:208)
      		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
      		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
      		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
      		at org.xnio.AbstractIoFuture$CompleteState.withNotifier(AbstractIoFuture.java:132)
      		at org.xnio.AbstractIoFuture.addNotifier(AbstractIoFuture.java:570)
      		at org.jboss.remoting3.EndpointImpl.doGetConnection(EndpointImpl.java:466)
      		at org.jboss.remoting3.EndpointImpl.getConnectedIdentity(EndpointImpl.java:405)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.lambda$getConnection$1(RemoteEJBReceiver.java:180)
      		at java.security.AccessController.doPrivileged(Native Method)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.getConnection(RemoteEJBReceiver.java:180)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.processInvocation(RemoteEJBReceiver.java:119)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:458)
      		at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocation(RemotingEJBClientInterceptor.java:51)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocation(DiscoveryEJBClientInterceptor.java:84)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:81)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.wildfly.common.context.Contextual.runExConsumer(Contextual.java:203)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequestInitial(EJBClientInvocationContext.java:306)
      		at org.jboss.ejb.client.EJBClientInvocationContext.retryOperation(EJBClientInvocationContext.java:995)
      		... 3 more
      	Suppressed: org.jboss.ejb.client.RequestSendFailedException: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      		... 8 more
      	Caused by: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      		at org.jboss.remoting3.ConnectionPeerIdentityContext.doAuthenticate(ConnectionPeerIdentityContext.java:369)
      		at org.jboss.remoting3.ConnectionPeerIdentityContext.authenticate(ConnectionPeerIdentityContext.java:174)
      		at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:477)
      		at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:466)
      		at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:208)
      		at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
      		at org.xnio.IoUtils$2.execute(IoUtils.java:71)
      		at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
      		at org.xnio.AbstractIoFuture$CompleteState.withNotifier(AbstractIoFuture.java:132)
      		at org.xnio.AbstractIoFuture.addNotifier(AbstractIoFuture.java:570)
      		at org.jboss.remoting3.EndpointImpl.doGetConnection(EndpointImpl.java:466)
      		at org.jboss.remoting3.EndpointImpl.getConnectedIdentity(EndpointImpl.java:405)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.lambda$getConnection$1(RemoteEJBReceiver.java:180)
      		at java.security.AccessController.doPrivileged(Native Method)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.getConnection(RemoteEJBReceiver.java:180)
      		at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.processInvocation(RemoteEJBReceiver.java:119)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:458)
      		at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocation(RemotingEJBClientInterceptor.java:51)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocation(DiscoveryEJBClientInterceptor.java:84)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:81)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      		at org.wildfly.common.context.Contextual.runExConsumer(Contextual.java:203)
      		at org.jboss.ejb.client.EJBClientInvocationContext.sendRequestInitial(EJBClientInvocationContext.java:306)
      		at org.jboss.ejb.client.EJBClientInvocationContext.retryOperation(EJBClientInvocationContext.java:995)
      		... 3 more
      Caused by: org.wildfly.security.auth.AuthenticationException: JBREM000308: Authentication failed (no mechanisms left), tried: (none)
      	at org.jboss.remoting3.ConnectionPeerIdentityContext.doAuthenticate(ConnectionPeerIdentityContext.java:369)
      	at org.jboss.remoting3.ConnectionPeerIdentityContext.authenticate(ConnectionPeerIdentityContext.java:174)
      	at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:477)
      	at org.jboss.remoting3.EndpointImpl$3.handleDone(EndpointImpl.java:466)
      	at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:208)
      	at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
      	at org.xnio.IoUtils$2.execute(IoUtils.java:71)
      	at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693)
      	at org.xnio.AbstractIoFuture$CompleteState.withNotifier(AbstractIoFuture.java:132)
      	at org.xnio.AbstractIoFuture.addNotifier(AbstractIoFuture.java:570)
      	at org.jboss.remoting3.EndpointImpl.doGetConnection(EndpointImpl.java:466)
      	at org.jboss.remoting3.EndpointImpl.getConnectedIdentity(EndpointImpl.java:405)
      	at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.lambda$getConnection$1(RemoteEJBReceiver.java:180)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.getConnection(RemoteEJBReceiver.java:180)
      	at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.processInvocation(RemoteEJBReceiver.java:119)
      	at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:458)
      	at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocation(RemotingEJBClientInterceptor.java:51)
      	at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      	at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocation(DiscoveryEJBClientInterceptor.java:84)
      	at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      	at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:81)
      	at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:470)
      	at org.wildfly.common.context.Contextual.runExConsumer(Contextual.java:203)
      	at org.jboss.ejb.client.EJBClientInvocationContext.sendRequestInitial(EJBClientInvocationContext.java:306)
      	at org.jboss.ejb.client.EJBClientInvocationContext.retryOperation(EJBClientInvocationContext.java:995)
      	... 3 more
      

      Attachments

        Issue Links

          Activity

            People

              fjuma1@redhat.com Farah Juma
              fjuma1@redhat.com Farah Juma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: