7 Replies Latest reply on Aug 13, 2013 7:07 PM by Jason Greene

    Unable to invoke remote EJB on JBoss EAP 6.1

    Simon Martinelli Novice

      Hi,

       

      When I try to invoke a remote EJB on EAP 6.1 I got an exception:

       

      2013-06-20 16:51:09,424 [main] INFO  org.jboss.ejb.client - JBoss EJB Client version 1.0.21.Final-redhat-1

      Exception in thread "main" java.lang.NoSuchMethodError: org.jboss.remoting3.Remoting.createEndpoint(Ljava/lang/String;Lorg/xnio/OptionMap;)Lorg/jboss/remoting3/Endpoint;

                at org.jboss.ejb.client.remoting.EndpointPool.getEndpoint(EndpointPool.java:81)

                at org.jboss.ejb.client.remoting.RemotingEndpointManager.getEndpoint(RemotingEndpointManager.java:49)

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

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

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

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

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

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

                at $Proxy2.getVersion(Unknown Source)

       

      Any ideas?`

       

      Thanks a lot.