0 Replies Latest reply on May 21, 2015 9:05 AM by Sagar Patur

    EJBCLIENT000015 after getting a EJBCLIENT000013: Successful version handshake completed

    Sagar Patur Newbie

      Need help with the below exception ..

       


      properties.put(Context.URL_PKG_PREFIXES, "org.jboss.ejb.client.naming"); 

      properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.remote.client.InitialContextFactory"); 

      properties.put(Context.SECURITY_PRINCIPAL, "admin"); 

      properties.put(Context.SECURITY_CREDENTIALS, "Pa55word$"); 

      properties.put("jboss.naming.client.ejb.context", true);

       

      Using the above properties and rest of the server configuration is all default .....

       

       

       

              properties.put(Context.PROVIDER_URL, "remote://localhost:4447");

       

      21 May 2015 08:51:27,732 Remoting "config-based-naming-client-endpoint" task-6 - Channel Channel ID 82f00bba (outbound) of Remoting connection 01e808ca to localhost/127.0.0.1:4447 opened for context EJBReceiverContext{clientContext=org.jboss.ejb.client.EJBClientContext@1d6a56e, receiver=Remoting connection EJB receiver [connection=Remoting connection <1afae45>,channel=jboss.ejb,nodename=gacdtl667el4425]} Waiting for version handshake message from server

         21 May 2015 08:51:27,739 Remoting "config-based-naming-client-endpoint" task-7 - EJBCLIENT000017: Received server version 2 and marshalling strategies [river]

         21 May 2015 08:51:27,753 Remoting "config-based-naming-client-endpoint" task-8 - Unsupported message received with header 0xffffffff

         21 May 2015 08:51:27,754 main - EJBCLIENT000013: Successful version handshake completed for receiver context EJBReceiverContext{clientContext=org.jboss.ejb.client.EJBClientContext@1d6a56e, receiver=Remoting connection EJB receiver [connection=Remoting connection <1afae45>,channel=jboss.ejb,nodename=gacdtl667el4425]} on channel Channel ID 82f00bba (outbound) of Remoting connection 01e808ca to localhost/127.0.0.1:4447

         21 May 2015 08:51:32,756 main - EJBCLIENT000015: Initial module availability report for Remoting connection EJB receiver [connection=Remoting connection <1afae45>,channel=jboss.ejb,nodename=gacdtl667el4425] wasn't received during the receiver context association

         Exception in thread "main" java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:, moduleName:xanbooSDK, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@1033a6f

        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 $Proxy0.getUserInformation(Unknown Source)

        at com.att.digitallife.test.EJB3Client.invokeStatelessBean(EJB3Client.java:40)

        at com.att.digitallife.test.EJB3Client.main(EJB3Client.java:22)

      21 May 2015 08:51:32,805 Thread-1 - Closing channel Channel ID 82f00bba (outbound) of Remoting connection 01e808ca to localhost/127.0.0.1:4447

         21 May 2015 08:51:32,807 Thread-1 - Closing channelChannel ID 82f00bba (outbound) of Remoting connection 01e808ca to localhost/127.0.0.1:4447

         21 May 2015 08:51:32,808 Remoting "config-based-naming-client-endpoint" task-10 - EJBCLIENT000016: Channel Channel ID 82f00bba (outbound)