3 Replies Latest reply on Feb 10, 2017 11:43 PM by Justin Bertram

    Unable to post to wildfly using org.exolab.jms.jndi.InitialContextFactory

    ummay sherrifa Newbie

      Hi,

       

      When I try to post message using jndi to wildfly 10.1.0 using "org.exolab.jms.jndi.InitialContextFactory" as Initial context factory and provider url "http-remoting://localhost:8080" facing the error message.

      ERROR MSG:

      Failed to get registry service for URL: http-remoting://localhost:8080

      Exception in thread "main" javax.naming.CommunicationException: Failed to get registry service for URL: http-remoting://localhost:8080 [Root exception is java.rmi.ConnectIOException: Failed to create connection; nested exception is:

        org.exolab.jms.net.connector.ResourceException: No connector for URI=http-remoting://localhost:8080/]

        at org.exolab.jms.jndi.InitialContextFactory.getInitialContext(InitialContextFactory.java:146)

        at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)

        at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)

        at javax.naming.InitialContext.init(Unknown Source)

        at javax.naming.InitialContext.<init>(Unknown Source)

       

      Regards,

      Sherrifa