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

    Lookup RMIAdaptor JBOSS 5.1

    Muralidhar S Newbie



      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://, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}




      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?