Hi,

I was wondering what solutions people are using to monitor their tomcat processes.

I've been having a look at the following:

http://code.google.com/p/tomcat-monitor/wiki/TomcatMonitor

Are there better scripts or alternatives for handling restarting the vm in the case of out of memory errors or for alerting admin that the server is non responsive?

Thank you,

Fu-Tung

Fu... its sounds like you may be looking for JMX...
Have a little read up on it... it will probably need another port opened in the firewall... but in theory you can sit in your office and watch your remote Tomcat die ;)
ie actually watch the loads...

Then to restart... whatever you use to remote admin now, telnet, putty, ssh, remote desktop...

JMX is built into Java... so you'll add some setting to TC, and you'll open JConsole on your machine... and watch as memory climbs... until death occurs ;)

Have fun...

After thought....

The above will help you find out why your tomcat dies....
But a really easy alarm system... is to just write a little Java app the calls a little page in your tomcat... like a browser does (Apache HTTP client comes to mind)... if it gets no response, you send a little java mail...
"Fu Its dead" ;)

Ok now have fun...
---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to