Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9844

EJB invocation for Remote interface fails when Client Interceptor registered via META-INF/services/org.jboss.ejb.client.EJBClientInterceptor

    Details

      Description

      Reproducer and description in https://issues.jboss.org/browse/JBEAP-14243
      Trace:

      TestSLSB", view is interface reproducer.TestRemote, affinity is Local
      11:13:41,729 ERROR [stderr] (ServerService Thread Pool – 63) javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB StatelessEJBLocator for "/remote-interface-test/TestSLSB", view is interface reproducer.TestRemote, affinity is Local
      11:13:41,729 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:567)
      11:13:41,729 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)
      11:13:41,730 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocationResult(RemotingEJBClientInterceptor.java:56)
      11:13:41,730 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:569)
      11:13:41,730 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)
      11:13:41,730 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.TransactionPostDiscoveryInterceptor.handleInvocationResult(TransactionPostDiscoveryInterceptor.java:133)
      11:13:41,730 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:569)
      11:13:41,731 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)
      11:13:41,731 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocationResult(DiscoveryEJBClientInterceptor.java:108)
      11:13:41,731 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:569)
      11:13:41,731 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)
      11:13:41,731 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.NamingEJBClientInterceptor.handleInvocationResult(NamingEJBClientInterceptor.java:78)
      11:13:41,732 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:569)
      11:13:41,732 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)
      11:13:41,732 ERROR [stderr] (ServerService Thread Pool – 63) at reproducer.ClientInterceptor.handleInvocationResult(ClientInterceptor.java:37)
      11:13:41,732 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:569)
      11:13:41,732 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)
      11:13:41,732 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.TransactionInterceptor.handleInvocationResult(TransactionInterceptor.java:172)
      11:13:41,733 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:569)
      11:13:41,733 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)
      11:13:41,733 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:913)
      11:13:41,733 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:177)
      11:13:41,733 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:112)
      11:13:41,733 ERROR [stderr] (ServerService Thread Pool – 63) at com.sun.proxy.$Proxy52.invoke(Unknown Source)
      11:13:41,734 ERROR [stderr] (ServerService Thread Pool – 63) at reproducer.TestSingleton.test(TestSingleton.java:46)
      11:13:41,734 ERROR [stderr] (ServerService Thread Pool – 63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      11:13:41,734 ERROR [stderr] (ServerService Thread Pool – 63) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      11:13:41,734 ERROR [stderr] (ServerService Thread Pool – 63) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      11:13:41,734 ERROR [stderr] (ServerService Thread Pool – 63) at java.lang.reflect.Method.invoke(Method.java:498)
      11:13:41,734 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:96)
      11:13:41,735 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      11:13:41,735 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doLifecycleInterception(Jsr299BindingsInterceptor.java:122)
      11:13:41,735 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:111)
      11:13:41,735 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      11:13:41,735 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
      11:13:41,735 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:81)
      11:13:41,736 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89)
      11:13:41,736 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      11:13:41,736 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.weld.injection.WeldInjectionInterceptor.processInvocation(WeldInjectionInterceptor.java:53)
      11:13:41,736 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      11:13:41,736 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ee.component.ManagedReferenceFieldInjectionInterceptorFactory$ManagedReferenceFieldInjectionInterceptor.processInvocation(ManagedReferenceFieldInjectionInterceptorFactory.java:107)
      11:13:41,736 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      11:13:41,737 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ee.component.ManagedReferenceFieldInjectionInterceptorFactory$ManagedReferenceFieldInjectionInterceptor.processInvocation(ManagedReferenceFieldInjectionInterceptorFactory.java:107)
      11:13:41,737 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      11:13:41,737 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ee.component.AroundConstructInterceptorFactory$1.processInvocation(AroundConstructInterceptorFactory.java:28)
      11:13:41,737 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      11:13:41,737 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.weld.injection.WeldInterceptorInjectionInterceptor.processInvocation(WeldInterceptorInjectionInterceptor.java:56)
      11:13:41,737 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      11:13:41,738 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.weld.interceptors.Jsr299BindingsCreateInterceptor.processInvocation(Jsr299BindingsCreateInterceptor.java:105)
      11:13:41,738 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      11:13:41,738 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
      11:13:41,738 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      11:13:41,738 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:273)
      11:13:41,738 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:352)
      11:13:41,739 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleCMTTxInterceptor.java:74)
      11:13:41,739 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      11:13:41,739 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.weld.injection.WeldInjectionContextInterceptor.processInvocation(WeldInjectionContextInterceptor.java:43)
      11:13:41,739 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      11:13:41,739 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
      11:13:41,739 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      11:13:41,739 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
      11:13:41,740 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      11:13:41,740 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:60)
      11:13:41,740 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      11:13:41,740 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ejb3.component.singleton.StartupCountDownInterceptor.processInvocation(StartupCountDownInterceptor.java:25)
      11:13:41,740 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      11:13:41,741 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
      11:13:41,741 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161)
      11:13:41,741 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:134)
      11:13:41,741 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:88)
      11:13:41,741 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:127)
      11:13:41,742 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:141)
      11:13:41,742 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54)
      11:13:41,742 ERROR [stderr] (ServerService Thread Pool – 63) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      11:13:41,742 ERROR [stderr] (ServerService Thread Pool – 63) at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      11:13:41,742 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1979)
      11:13:41,743 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1481)
      11:13:41,743 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
      11:13:41,743 ERROR [stderr] (ServerService Thread Pool – 63) at java.lang.Thread.run(Thread.java:748)
      11:13:41,743 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.threads.JBossThread.run(JBossThread.java:485)
      11:13:41,743 ERROR [stderr] (ServerService Thread Pool – 63) Suppressed: javax.ejb.NoSuchEJBException: EJBCLIENT000024: No EJB receiver available for handling destination "local:-"
      11:13:41,744 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientContext.resolveReceiver(EJBClientContext.java:571)
      11:13:41,744 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:438)
      11:13:41,744 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocation(RemotingEJBClientInterceptor.java:51)
      11:13:41,744 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:466)
      11:13:41,744 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.TransactionPostDiscoveryInterceptor.handleInvocation(TransactionPostDiscoveryInterceptor.java:67)
      11:13:41,744 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:466)
      11:13:41,745 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocation(DiscoveryEJBClientInterceptor.java:94)
      11:13:41,745 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:466)
      11:13:41,745 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.NamingEJBClientInterceptor.handleInvocation(NamingEJBClientInterceptor.java:63)
      11:13:41,745 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:466)
      11:13:41,745 ERROR [stderr] (ServerService Thread Pool – 63) at reproducer.ClientInterceptor.handleInvocation(ClientInterceptor.java:28)
      11:13:41,745 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:466)
      11:13:41,746 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:165)
      11:13:41,746 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:466)
      11:13:41,746 ERROR [stderr] (ServerService Thread Pool – 63) at org.wildfly.common.context.Contextual.runExConsumer(Contextual.java:203)
      11:13:41,746 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBClientInvocationContext.sendRequestInitial(EJBClientInvocationContext.java:302)
      11:13:41,746 ERROR [stderr] (ServerService Thread Pool – 63) at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:173)
      11:13:41,746 ERROR [stderr] (ServerService Thread Pool – 63) ... 58 more

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  baranowb Bartosz Baranowski
                  Reporter:
                  baranowb Bartosz Baranowski
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: