If you execute the previous testcase remotely, this output shows that it is possible to connect to the rmi registry remotely and to authenticate.
This could mean that there is a problem on the JMX level between the JDK you are using and the JMX handles exposed by GlassFish.
I have attached an extended testcase that tries to read the attributes of the Runtime MBean remotely.
Maybe you can make a try.
[Message sent by forum member 'vkoniecz' (vkoniecz)]
http://forums.java.net/jive/thread.jspa?messageID=361604