0 Replies Latest reply on May 31, 2013 2:47 AM by wallellen

    Please help me with a "Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException"

    wallellen

      When I deploy a product into jboss-as-7.1.1.Final, it deploy successfull, and when I try to use my ip to access my RMI servcer use my URL like "service:jmx:rmi:///jndi/rmi://192.168.10.123:9898/monitor" in local, it load successfull, but when I try to use "service:jmx:rmi:///jndi/rmi://127.0.0.1:9898/monitor", it always said "14:44:08,781 ERROR [stderr] (Thread-75) java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: rmi://127.0.0.1:9898/monitor -- service jboss.naming.context.java.rmi:."127.0.0.1:9898".monitor". Can anybody tell me why I cannot use 127.0.0.1 to access the RMI JMX? or there is any configuration for this problem? I also test this application in Jetty and Tomcat, all of them work fine.

       

       

      Thanks in advance!