Java 无法在JBoss EAP 6.2上调用远程EJB

Java 无法在JBoss EAP 6.2上调用远程EJB,java,ejb,remote-access,jboss-eap-6,Java,Ejb,Remote Access,Jboss Eap 6,当我尝试从远程客户端访问运行在JBoss EAP 6.2中的EJB时,我会遇到以下异常: Caused by: java.lang.NoSuchMethodError: org.jboss.remoting3.Remoting.createEndpoint(Ljava/lang/String;Lorg/xnio/OptionMap;)Lorg/jboss/remoting3/Endpoint; javax.naming.NamingException: Failed to crea

当我尝试从远程客户端访问运行在JBoss EAP 6.2中的EJB时,我会遇到以下异常:

  Caused by: java.lang.NoSuchMethodError: org.jboss.remoting3.Remoting.createEndpoint(Ljava/lang/String;Lorg/xnio/OptionMap;)Lorg/jboss/remoting3/Endpoint;

    javax.naming.NamingException: Failed to create remoting connection [Root exception is java.lang.NoSuchMethodError: org.jboss.remoting3.Remoting.createEndpoint(Ljava/lang/String;Lorg/xnio/OptionMap;)Lorg/jboss/remoting3/Endpoint;]
        at org.jboss.naming.remote.client.ClientUtil.namingException(ClientUtil.java:51)
我将这些属性用于调用远程ejb方法。

endpoint.name=客户端端点 remote.connectionprovider.create.options.org.xnio.options.SSL\u ENABLED=false remote.connections=default remote.connection.default.host=localhost remote.connection.default.port=8080 remote.connection.default.connect.options.org.xnio.options.SASL\u POLICY\u NOANONYMOUS=false remote.connection.default.username=admin remote.connection.default.password=admin

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:8080

我还使用了下面的库列表


使用8080作为远程处理端口是很少见的。。默认值为4447或该数字的偏移量。。尝试使用以下属性(取自)


你从哪里得到的图书馆列表?对于您正在使用的平台来说,这些版本似乎有点旧。
endpoint.name=client-endpoint
remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false
remote.connections=default

remote.connection.default.host=localhost
remote.connection.default.port = 4447
remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false