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 sta

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