Create a simple JSP that outputs a particular string. Install that JSP in your webapp
Use wget or any other scriptable HTTP client: wget http://your-host:8080/yourApp/monitor.jsp Look for "SUCCESS" (or whatever string you choose) in output. If you get it, Tomcat is up and rendering JSPs. If you don't, it's not. Setup cron job to run every 5 minutes. John -----Original Message----- From: pavel [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 2:52 AM To: [EMAIL PROTECTED] Subject: Tomcat Monitoring Hello, Please could anybody tell me how to monitor whether tomcat is running. I am using for load testing JMeter which sends requests. Is there something like that which would also send requests for example each 5 min and in case of problem, an email would be sent to the administrator. Or is there something on tomcat (server) side that would monitor tomcat and send email to the administrator? Thank you in advance. Pavel Kusch --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
