Checking if Tomcat is up

2003-01-13 Thread Abhijat Thakur
Is it pssible to check intemittently through my java application if my Tomcat server is up ? What can i check for to see if my Tomcat server is up. The scenaruio is that if something happens to Tomcat where my it hangs up i should ring my application down, for that i have to check

RE: Checking if Tomcat is up

2003-01-13 Thread Turner, John
Myabe I'm missing something, but if Tomcat is down how can your application run to be checking that Tomcat is up? Your application needs Tomcat to execute. John -Original Message- From: Abhijat Thakur [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 1:55 PM To: [EMAIL

RE: Checking if Tomcat is up

2003-01-13 Thread Abhijat Thakur
I have background threads running which keep checking if Tomcat is up or not. Lets say Tomcat hangs up or something then these background threads call to shutdown the application and tomcat clean up all the processes. This is to Monitor if my application is working properly. thanks abhijat

Re: Checking if Tomcat is up

2003-01-13 Thread Rasputin
* Abhijat Thakur [EMAIL PROTECTED] [0155 18:55]: Is it pssible to check intemittently through my java application if my Tomcat server is up ? What can i check for to see if my Tomcat server is up. The scenaruio is that if something happens to Tomcat where my it hangs up i should ring my

RE: Checking if Tomcat is up

2003-01-13 Thread Peter Choe
maybe he wants a separate program to check if the service is up. At 01:57 PM 1/13/2003, Turner, John wrote: Myabe I'm missing something, but if Tomcat is down how can your application run to be checking that Tomcat is up? Your application needs Tomcat to execute. John -Original Message

RE: Checking if Tomcat is up

2003-01-13 Thread Scott Purcell
-Original Message- From: Abhijat Thakur [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 1:17 PM To: Tomcat Users List Subject: RE: Checking if Tomcat is up I have background threads running which keep checking if Tomcat is up or not. Lets say Tomcat hangs up or something

RE: Checking if Tomcat is up

2003-01-13 Thread Mike Jackson
[mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 11:27 AM To: Tomcat Users List Subject: RE: Checking if Tomcat is up That sounds good, you could probably create a small app with threads which uses the url class to connect to your tomcat, try and read a url. If that throws a error

RE: Checking if Tomcat is up

2003-01-13 Thread Turner, John
, but that seems like a lot of work just to do something fairly simple. John -Original Message- From: Mike Jackson [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 2:34 PM To: Tomcat Users List Subject: RE: Checking if Tomcat is up I just use a shell script, which looks