I'm afraid you're running Tomcat on JDK 1.4.x. This means you don't have the platform MBeans that allow you to access the VM instrumentation as they didn't exist at that time. These platform MBeans were introduced in JDK 5.0.
It could be also that you are running Tomcat on JDK 5.0 or later but your JMX connector server is not using the platform MBean server.
If you're running on JDK 1.4.x and cannot migrate to JDK 5.0 then you could still supply the "PerformGC" operation as long as you implement it in your MBean.
For more detailed info on the M&M capabilities of the Java Platform have a look at:
http://java.sun.com/javase/6/docs/technotes/guides/management/index.html
Please let me know how do you connect JConsole to the JMX agent started by your Tomcat
server.
Do you select the java process from the Local Process table in the Connection Dialog or you
enter a <hostname>:<port> (or a JMXServiceURL)?
If Tomcat uses the out-of-the-box management agent then you should see the VM MBeans
and thus all the tabs in JConsole. If Tomcat starts its own JMX connector server with its own
MBeanServer (different from the platform MBeanServer) then you will only see the MBeans
tab with your custom MBeans.
Regards,
Luis
Add your MBeans to the platform MBeanServer by using:
MBeansServer mbs = java.lang.management.ManagementFactory.getPlatformMBeanServer();
or have a look at the Tomcat administration guide to see how to make
Tomcat use the platform MBeanServer instead of using a proprietary one.
Regards,
Luis