title: How to View Web Application Data in Visualvm
body: <p>I am trying to use the visualvm program that comes with the JDK to profile a webapp running in Tomcat.  I have no problems connecting and everything looks nice and works properly in the GUI, except that my classes do not show.  When profiling, using the CPU screen, I only see catalina and a few other classes' methods listed.  How can I have visualvm show the method invocations of the webapp that Tomcat is running (rather than just Tomcat itself)?</p>
  
  <p>If it helps:
  This is with Tomcat 6.0.26 and JDK 1.6.0.22</p>