Client application trying to invoke EJB in the same VM during deployment and getting EJBCLIENT000079: Unable to discover destination in JBoss EAP 7
Issue
- Client application trying to invoke EJB in the same VM during deployment and getting EJBCLIENT000079: Unable to discover destination in JBoss EAP 7
14:43:25,079 INFO [com.redhat.examples.servlet.Servlet] (ServerService Thread Pool -- 72) Trying to call: ejb:initialize-in-order-ejb-remote/A/EE6ExampleSingleton!com.jboss.examples.ejb.ExampleRemote
14:43:25,085 INFO [org.wildfly.naming] (ServerService Thread Pool -- 72) WildFly Naming version 1.0.10.Final-redhat-00001
14:43:25,103 ERROR [stderr] (ServerService Thread Pool -- 72) javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB StatelessEJBLocator for "initialize-in-order-ejb-remote/A/EE6ExampleSingleton", view is interface com.jboss.examples.ejb.ExampleRemote, affinity is None
14:43:25,103 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:607)
14:43:25,104 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:543)
14:43:25,104 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocationResult(RemotingEJBClientInterceptor.java:56)
14:43:25,104 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:609)
14:43:25,104 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:543)
14:43:25,104 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.TransactionPostDiscoveryInterceptor.handleInvocationResult(TransactionPostDiscoveryInterceptor.java:148)
14:43:25,104 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:609)
14:43:25,104 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:543)
14:43:25,105 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocationResult(DiscoveryEJBClientInterceptor.java:124)
14:43:25,105 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:609)
14:43:25,105 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:543)
14:43:25,105 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.NamingEJBClientInterceptor.handleInvocationResult(NamingEJBClientInterceptor.java:85)
14:43:25,105 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:609)
14:43:25,105 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:543)
14:43:25,105 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.TransactionInterceptor.handleInvocationResult(TransactionInterceptor.java:212)
14:43:25,106 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:609)
14:43:25,106 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:543)
14:43:25,106 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:963)
14:43:25,106 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:191)
14:43:25,106 ERROR [stderr] (ServerService Thread Pool -- 72) at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:125)
14:43:25,106 ERROR [stderr] (ServerService Thread Pool -- 72) at com.sun.proxy.$Proxy66.hello(Unknown Source)
14:43:25,107 ERROR [stderr] (ServerService Thread Pool -- 72) at com.redhat.examples.servlet.Servlet.testExampleRemote(Servlet.java:50)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.