2 Replies Latest reply on Jul 31, 2012 11:52 AM by François Hertay

    Difference between JBoss 7.0.2.Final and 7.1.1.Final

    Fernando Aspiazu Newbie

      Hi all, how are you

       

      So, I'm a little question on the JBoss versions, between 7.0.2.Final and 7.1.1.Final,

       

      this question because I can't lookup a remote EJB deployed on JBoss 7.0.2.Final

      Stacktrace:

      WARN: Could not register a EJB receiver for connection to remote://localhost:4447

      java.lang.RuntimeException: Operation failed with status WAITING

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

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

                at org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector.<init>(ConfigBasedEJBClientContextSelector.java:78)

                at org.jboss.ejb.client.EJBClientContext.<clinit>(EJBClientContext.java:77)

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

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

                at $Proxy0.add(Unknown Source)

                at it.fernando.ejb.remote.client.RemoteEJBClient.invokeStatelessBean(RemoteEJBClient.java:50)

                at it.fernando.ejb.remote.client.RemoteEJBClient.main(RemoteEJBClient.java:31)

      Exception in thread "main" java.lang.IllegalStateException: No EJB receiver available for handling [appName:,modulename:jboss-as-ejb-remote-app,distinctname:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@175093f1

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

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

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

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

                at it.fernando.ejb.remote.client.RemoteEJBClient.invokeStatelessBean(RemoteEJBClient.java:50)

                at it.fernando.ejb.remote.client.RemoteEJBClient.main(RemoteEJBClient.java:31)

       

      Instead if I lookup this remote bean deployed on JBoss 7.1.1.Final, it's work correctly

       

      The example is: https://github.com/jboss-jdf/jboss-as-quickstart/tree/master/ejb-remote

       

      I repeat, if deployed on JBoss 7.1.1.Final, works correctly

      if deployed on JBoss 7.0.2.Final, explodes!!!

       

      Thanks a lot, best regards