Jboss EAP-6.3 remote stateless bean invocation failed on other Jboss EAP-6.3 instance
jbosstcsbala Nov 4, 2015 1:59 AMDear All,
Currently, I'm working on EJB with web client, I've two EAP instance; one for EJB server deployment and another for web application with EJB client calling. I have configured the standalone EJB client calling, it's working fine, but from web I'm getting bellow error, Can you please any one help me.
Error Log:
11:33:21,283 ERROR [stderr] (ServerService Thread Pool -- 89) java.lang.IllegalStateException: EJBCLIENT000031: No receiver associated with invocation
11:33:21,283 ERROR [stderr] (ServerService Thread Pool -- 89) at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:179)
11:33:21,283 ERROR [stderr] (ServerService Thread Pool -- 89) at org.jboss.ejb.client.EJBInvocationHandler.sendRequestWithPossibleRetries(EJBInvocationHandler.java:253)
11:33:21,283 ERROR [stderr] (ServerService Thread Pool -- 89) at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:198)
11:33:21,283 ERROR [stderr] (ServerService Thread Pool -- 89) at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:181)
11:33:21,283 ERROR [stderr] (ServerService Thread Pool -- 89) at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:144)
11:33:21,301 ERROR [stderr] (ServerService Thread Pool -- 89) at $Proxy14.initialize(Unknown Source)
11:33:21,301 ERROR [stderr] (ServerService Thread Pool -- 89) at com.test.ServiceCaller.getSessionManager(ServiceCaller.java:316)
11:33:21,301 ERROR [stderr] (ServerService Thread Pool -- 89) at com.test.ServiceCaller.initializeEJB(ServiceCaller.java:487)
11:33:21,301 ERROR [stderr] (ServerService Thread Pool -- 89) at com.test.ServiceCaller.<init>(ServiceCaller.java:125)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at com.test.ServiceCaller.<init>(ServiceCaller.java:94)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at com.test.Config.init(Config.java:355)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at com.test.ConfigServlet.init(ConfigServlet.java:57)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at javax.servlet.GenericServlet.init(GenericServlet.java:242)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3591)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3798)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:59)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:94)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at java.util.concurrent.FutureTask.run(FutureTask.java:138)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at java.lang.Thread.run(Thread.java:662)
11:33:21,316 ERROR [stderr] (ServerService Thread Pool -- 89) at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Please find the reference link : http://www.mastertheboss.com/jboss-server/jboss-as-7/how-to-call-ejbs-from-another-jboss-as-7-instance
Thanks,
Bala.