RE: How can we know Tomcat is running or not through Standalone Java Prog

2003-12-01 Thread Shapira, Yoav

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]



RE: How can we know Tomcat is running or not through Standalone Java Prog

2003-12-01 Thread Neal
Look in your Tomcat/conf/server.xml file.  Is there an uncommented
service tag like the following?



This instructs Tomcat to run standalone. 

Also, you can confirm this by looking at Tomcat output when it is
stated.  When tomcat starts it will write to standard out (logs in Unix
or output window on Windows).

-N 


-Original Message-
From: dakavara [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 30, 2003 10:42 PM
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]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]