1 2 Previous Next 15 Replies Latest reply on Sep 4, 2017 1:30 AM by Amit Kumar

    Wildfly 8.1 ejb remote invocation problem

    Maurizio Mueller Newbie

      Hi,

       

      I have a problem with the example quickstart ejb remote invocation “wildfly-ejb-remote-client”.

      https://github.com/wildfly/quickstart/tree/master/ejb-remote

       

      I tried the example with Wildfly 8.1 but doesn’t work.

      The 8080 port is open and the server side application is correctly deployed.

       

      Log:

       

      ago 12, 2014 11:59:53 AM org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector setupEJBReceivers

      WARN: Could not register a EJB receiver for connection to localhost:8080

          java.lang.RuntimeException: Operation failed with status WAITING

             at org.jboss.ejb.client.remoting.IoFutureHelper.get(IoFutureHelper.java:94)

             at org.jboss.ejb.client.remoting.ConnectionPool.getConnection(ConnectionPool.java:77)

             at org.jboss.ejb.client.remoting.RemotingConnectionManager.getConnection(RemotingConnectionManager.java:51)

             at org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector.setupEJBReceivers(ConfigBasedEJBClientContextSelector.java:155)

             at org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector.getCurrent(ConfigBasedEJBClientContextSelector.java:115)

             at org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector.getCurrent(ConfigBasedEJBClientContextSelector.java:47)

             at org.jboss.ejb.client.EJBClientContext.getCurrent(EJBClientContext.java:271)

             at org.jboss.ejb.client.EJBClientContext.requireCurrent(EJBClientContext.java:281)

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

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

             at com.sun.proxy.$Proxy0.add(Unknown Source)

             at org.jboss.as.quickstarts.ejb.remote.client.RemoteEJBClient.invokeStatelessBean(RemoteEJBClient.java:56)

             at org.jboss.as.quickstarts.ejb.remote.client.RemoteEJBClient.main(RemoteEJBClient.java:38)

      Exception in thread "main" java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:, moduleName:wildfly-ejb-remote-server-side, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@352cebd2

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

             at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:116)

             at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)

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

             at org.jboss.as.quickstarts.ejb.remote.client.RemoteEJBClient.invokeStatelessBean(RemoteEJBClient.java:56)

             at org.jboss.as.quickstarts.ejb.remote.client.RemoteEJBClient.main(RemoteEJBClient.java:38)

       

       

      Thanks for any help!

      Maurizio

        1 2 Previous Next