How to connect VisualVM to a remote Tomcat

- Add the following to the
JAVA_OPTS
:
|
|
Set your server IP on the java.rmi.server.hostname
.
- On VisualVM, add a remote host
- Right click on the created host > Add JMX connexion
- Set the server IP with the port (in the example, it’s 9090)
- ????
- PROFIT!!!