tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: remote monitoring JVM by VisualVM
Date Mon, 14 Dec 2009 15:48:38 GMT
> From: Paolo Santarsiero [mailto:paolo.santarsiero@gmail.com]
> Subject: Re: remote monitoring JVM by VisualVM
> 
> How can I integrate this Listener in my production Tom?

The general building-from-source instructions are here:
http://tomcat.apache.org/tomcat-6.0-doc/building.html

It's easy and fairly quick, but you will need an active internet connection to allow the build
script to download jars that Tomcat needs.

I haven't built the new listener yet, but the following should work:

1) Download the Tomcat source and untar/unzip it.

2) Download the two new .java and one .properties files from SVN and place them in:
apache-tomcat-6.0.20-src/java/org/apache/catalina/mbeans

3) Optionally, download the one new and one updated .xml files from SVN and place them in:
apache-tomcat-6.0.20-src/webapps/docs/config

4) Build Tomcat using the ant script that comes with the source download.

You'll need to at least look at the listeners.xml file to see how to configure the new JMX
one.

You could also hand-compile the two new .java files, but that's probably harder than just
letting ant do it.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message