How do I monitor Tomcat6 with JVisualvm in Ubuntu Linux?
问题 I'm trying to set up JVisualVm to monitor a Tomcat 6 instance (running on Ubuntu Server 10.04 LTS). I've seen other questions, but none of them directly answer my problem. I try to connect to Tomcat with JVisualvm and it comes back with a "Cannot connect" error - but there are TCP connections being made to the server; the server drops the connection after a short burst of traffic. I have already added this to /etc/default/tomcat6 and restarted tomcat6 # This enables JMX in order to permit