My Tomcat 7 process, which I run on a server on Amazon EC2, has settings such as these in
CATALINA_OPTS which should allow me to connect for JMX monitoring remotely:
-Dcom.sun.management.jmxremote.port=8086 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
However, connecting remotely does not work with either jconsole or jvisualvm. It just times out.
I've triple-checked that the EC2 security group allows access to the JMX remote port from my IP (and only from my IP).
Are there any settings missing?