Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JMX and Tomcat status
Joined: Dec 14, 2004
Sep 12, 2006 22:05:00
I need to monitor my
and know its status, i.e if it is running. This would be a Java Application that would ping tomcat.
I know that using a
can do the process for me. I would ping the servlet to see if it gives me a response.
Howsoever i dont want to do it that way, I came to know that JMX helps monitor various applications.
Any tips as to how i can achieve know the status of tomcat using JMX .
Thanks in advance
Money for nothing and Java for Free
Joined: Dec 11, 2004
Sep 13, 2006 07:32:00
JDK1.5 ships with the jConsole app that can bind to the JVM and monitor all of the app's xbeans.
Give that a shot.
Also the Manager app that ships with Tomcat has a server status page which contains a lot of the JMX information.
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
subject: JMX and Tomcat status
JMX and JBOSS
JMX and Tomcat
how to run JMX?
Tomcat Server monitoring
code needed for start,stop the remote service
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013