Doubt monitoring Tomcat with Java Visualvm

Asked

Viewed 143 times

1

Inside my jdk Bin folder I downloaded the "jvisualvm.exe", it is not in the machine environment variables, more after that I configured Tomcat 8:

-Dcom.sun.management.jmxremote.port=8086
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false

I restarted the service and inside the Visualvm I tried to access more I’m with the image error:

inserir a descrição da imagem aqui

  • There is already something occupying the connection, probably the previous connection has not been terminated, try to find and close the other instance of visualVM but you may need a reboot to clear connections.

  • Are Tomcat and jvisualvm on the same machine? so you don’t need to configure these parameters on Tomcat. When you open the visualvm, the java applications that are running will be listed.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.