1 Reply Latest reply on Feb 26, 2015 2:26 PM by rafachies

    JNDI lookup issue on JBoss EAP 6.3

    dnyanesh.patel

      Dear All,

       

      I am using JBoss EAP 6.3 as an application server. Session beans are deployed successfully on JBoss.

      The interfaces are remote and being called from client running on different JVM.

       

      Provided JNDI attributes are as follows :

       

      java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory

      java.naming.factory.url.pkgs=org.jboss.ejb.client.naming

      java.naming.provider.url=remote://localhost:4447

      java.naming.security.principal=admin

      java.naming.security.credentials=Password-123

      jboss.naming.client.ejb.context=true

       

      I have configured jboss-ejb-client.xml and jboss-ejb-client.properties file in client project.

       

      Proxy for remote object gets created after lookup.

      However while invoking the actual service method , following exception occurs.

       

      Caused by: java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:TestEAR, moduleName:TestServices, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@302fce

        at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:735)

        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.sendRequestWithPossibleRetries(EJBInvocationHandler.java:253)

        at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:198)

        at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:181)

        at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:144)

        at com.sun.proxy.$Proxy2.getClientModuleVersion(Unknown Source)

       

      Please let us know your suggestion on above issue.

       

      Thannks and Regards,

      Dnyanesh Patel