jconsole connection failed
Posted on 2005-05-01
I got jconsole working with the server if I have authentication and ssl disabled. But, when I try to enable authentication it fails.
I've created a certificate and it's in the keystore.
Here are the extra parameters I added to the server:
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=58084 -Dcom.sun.management.jmxremote.ssl.need.client.auth=true -Djava.rmi.server.hostname="knowlist.com"
I added passwords to the jxmremote.password file for "monitorRole" and "controlRole".
I then tried to log into the server using jconsole with the username "controlRole" and it just says "connection failed". I find it odd that a username would have "role" in it, but that seems to be what the jmx ssl setup instructions seem to be telling me.
The frustrating thing is that jconsole just says "connection failed" and never provides any additional information to indicate what's failing.