IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling errors occur sporadically in JBoss EAP 6
Issue
- We have a jboss-ejb-client.properties file in WEB-INF configured to access the EAP server. The web app creates an initial context to the EAP server with the following attributes:
javax.naming.Context.PROVIDER_URL="remote://ourserver:ourport"
javax.naming.Context.INITIAL_CONTEXT_FACTORY="org.jboss.naming.remote.client.InitialContextFactory"
javax.naming.Context.URL_PKG_PREFIXES="org.jboss.ejb.client.naming"
"jboss.naming.client.ejb.context"="true"
The web app connects successfully and retrieves the EJB at the JNDI but only sporadically. There is no consistency or pattern in the failures. The failures are always the
IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:simpleEJB3, moduleName:ejb, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@2352fd52.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.