I am trying to to get jconsole to connect to james jmx remotely. I set in the remote configuration these parameters:
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Djava.rmi.server.hostname=<host ip>
-Dcom.sun.management.jmxremote.port=<port>
-Dcom.sun.management.jmxremote
And I even set up the parameters to my JAVA_OPTS in local. Anyway, it is not able to connect.