Howdy,
You have options that check slightly different things:
- Ping tomcat's port: checks the server is up, accepting request on the
port you check
- Specify a CATALINA_PID file, have your standalone program check for
presence of this file
- Write out your own file from your webapp, have your standalone program
check for presence of this file.
- Use a tool like Nagios
etc. etc. This is a basic operational question.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: dakavara [mailto:[EMAIL PROTECTED]
>Sent: Monday, December 01, 2003 1:42 AM
>To: Tomcat Users List (E-mail)
>Subject: How can we know Tomcat is running or not through Standalone
Java
>Prog
>
>Hi,
>
>
>How can we know Tomcat is running or not through Standalone Java
Program.
>
>
>Thanks in Advance,
>Ashok.D
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privileged. This
e-mail is intended only for the individual(s) to whom it is addressed, and may not be
saved, copied, printed, disclosed or used by anyone else. If you are not the(an)
intended recipient, please immediately delete this e-mail from your computer system
and notify the sender. Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]