Please help on Tomcat with JMX Options

G

Gans

Hi all,

I want to monitor my tomcat 5.5 application server with JMX. I have
study the sun tutorial to do this. but i am not able to fina a good
tutorial for monitor Tomcat. Can any one help me to guide me how to
configure the JMX for Tomcat application server?


I aplogies if i posetd a wrong news group... Please guide me a
spcific
news group for my doubts.


Thanks to you all...


--Ganesan.
 
M

Manish Pandit

Hi all,

I want to monitor my tomcat 5.5 application server with JMX. I have
study the sun tutorial to do this. but i am not able to fina a good
tutorial for monitor Tomcat. Can any one help me to guide me how to
configure the JMX for Tomcat application server?

I aplogies if i posetd a wrong news group... Please guide me a
spcific
news group for my doubts.

Thanks to you all...

--Ganesan.

Edit catalina.bat (it is in $CATALINA_HOME/bin) and locate JAVA_OPTS
variable. Change it to look like this (you may want to append the
stuff if JAVA_OPTS already has something).

set JAVA_OPTS=-Dcom.sun.management.jmxremote -
Dcom.sun.management.jmxremote.port="9004" -
Dcom.sun.management.jmxremote.authenticate="false" -
Dcom.sun.management.jmxremote.ssl="false"

Save the file, and start tomcat.

Assuming you have JDK5 (not JRE), start jconsole. It should be in
$JDK_HOME/bin.

It will autodetect the JMX connection on local box, so go ahead
connect. Click around the tabs at the top (summary, memory, threads..)
to see the monitoring in action.

Translate the above into *nix if you are not using Windows.

If you want a tutorial on what JMX is, google around and there is
plenty of stuff.

http://java.sun.com/docs/books/tutorial/jmx/index.html

-cheers,
Manish
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

JMX & tomcat 0
Help Please On 2 of my Websites 1
Troubles with Fullpage / please help 0
Help please 8
Using JMX with JDK 1.4.2 1
JMX Connection Problems 3
JMX on Tomcat4.1 0
Please help me!!! 3

Members online

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,786
Latest member
EmilioGuru

Latest Threads

Top