jwheaton
jwheaton

Reputation: 31

VisualVM Profiling tab missing for Tomcat server

I am Running Tomcat 6.0.29
Java Visual Machine use default is not checked and the location is:

C:\Program Files\Java\jdk1.6.0_20\jre\bin\server\jvm.dll

Running VisualVM with C:\Program Files\Java\jdk1.6.0_20\bin\jvisualvm.exe

Tomcat doesn't show up as a local application and I can load it as a "remote" connection using JMX, but I don't get the Profiling tab.

Upvotes: 3

Views: 2006

Answers (1)

Tomas Hurka
Tomas Hurka

Reputation: 6981

It looks like Tomcat is running as 'Windows service', am I right? If so, you have two options:

  1. Run VisualVM as Windows service too. See this post for more info.
  2. Get newer version of VisualVM (JDK 1.6.0_29 is three years old) and use CPU Sampler - it will work over JMX connection and in most cases provides enough information to diagnose the problem.

Upvotes: 1

Related Questions