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
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
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
* 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
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
-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
[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
, 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