0 Replies Latest reply on Mar 15, 2016 7:51 AM by gauravgkdubey

    Random EJBCLIENT000025: No EJB receiver available for handling on JBoss EAP 6 for EJB which was invoke successfully previously using remote

    gauravgkdubey

      Client is running in its own JVM outside JBoss and after several successful calls, we occasionally get the exception below. We are using remote: protocol to lookup the EJB

      java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:test, moduleName:example, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@77cab87f at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:588) at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:116) at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:183) at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:136) at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121) at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104) at $Proxy0.makeRequest(Unknown Source) ...

      If the EJB is called direct or after a short period the invocation will work, if there is a longer time between lookup and invocation it fails.

      What could be the reason of the error?