3 Replies Latest reply on Aug 12, 2010 6:50 AM by Muralidhar S

    Lookup RMIAdaptor JBOSS 5.1

    Muralidhar S Newbie

      Hi,

       

      I am trying to lookup "jmx/invoker/RMIAdaptor" on the server running with JBOSS 5.1. The call "(RMIAdaptor) ctx.lookup("jmx/invoker/RMIAdaptor")" returns with an unknown Host exception even if I pass the IP address of the JBOSS server in the URL.

       

      Connection properties:

       

      {java.naming.provider.url=jnp://10.54.7.179:1099, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}

       

      Exception:

       

      caught exception: javax.naming.CommunicationException [Root exception is java.rmi.UnknownHostException: Unknown host: emssvt2; nested exception is:
      java.net.UnknownHostException: emssvt2]

       

      Where is the IPAddress getting mapped to a hostname? Anything needs to be done on the JBOSS 5.1 side?

       

      Regards

      -murali