0 Replies Latest reply on Oct 22, 2015 4:23 PM by joker1103

    Problem calling remote ejb running on Jboss 4 [Root exception is java.lang.IllegalArgumentException: XNIO001001: No XNIO provider found]

    joker1103 Newbie

      How write in doc page "Remote EJB invocations via JNDI - EJB client API or remote-naming project"

      Using Jboss EAP 6.4 for communicate to remote ejb on Jboss 4.

      I use the library jboss-remote-naming (2.4 Final) and with this initial contex param

       

      Initial-Factory=org.jboss.naming.remote.client.InitialContextFactory

      Url-Provider=remote://<ip server>:1099

       

      But I have this error:

       

      17:37:42,038 INFO  [org.xnio] (http-localhost/127.0.0.1:8080-1) XNIO version 3.2.0.Final

      17:37:42,053 ERROR [stderr] (http-localhost/127.0.0.1:8080-1)

          javax.naming.NamingException: Failed to create remoting connection [Root exception is java.lang.IllegalArgumentException: XNIO001001: No XNIO provider found]

       

          at org.jboss.naming.remote.client.ClientUtil.namingException(ClientUtil.java:51)

          at org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(InitialContextFactory.java:152)

          at org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:122)

          at org.jboss.as.naming.InitialContext.init(InitialContext.java:107)

          at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:153)

          at org.jboss.as.naming.InitialContext.<init>(InitialContext.java:98)

          at org.jboss.as.naming.InitialContextFactory.getInitialContext(InitialContextFactory.java:44)

          at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)

          at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)

          ...

       

      Someone can help?