users@glassfish.java.net

Re: Problem with JMX Connector on Glassfish v2.1

From: <glassfish_at_javadesktop.org>
Date: Fri, 21 Aug 2009 06:46:17 PDT

Hi, I got the same problem (unable to remote connect, I can only connect locally) on SUSE SLED 11.0, JDK1.6_16 with a classic Java application started with the following options on the command line:
-Dcom.sun.management.jmxremote.port=42420
-Dcom.sun.management.jmxremote.authenticate=false

The jconcole trace gives :
java.lang.NullPointerException
        at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:281)

Netstat shows that the port 42420 is effectively listened on, machine hostname is correctly configured (not pointing to 127.0.0.1 but to the "public" address) and firewall completely disactivated.
As already said, the problem does not seem to be relative to GF.
[Message sent by forum member 'svolland' (svolland)]

http://forums.java.net/jive/thread.jspa?messageID=361607