I am using VNC to connect to a server. I am able to VNC into the server, and open Jconsole, but cannot get it to connect to my process whether I include the PID or try connectin
In my case, I also had to add this option to get Jconsole to connect to the process.
-Djava.rmi.server.hostname=localhost