Probably not foolproof, but off the top of my head:
ps -aux --cols 500 |grep $TOMCAT_HOME
Fredrik Liden
<fredrik@tran To: "'[EMAIL PROTECTED]'"
slate.com> <[EMAIL PROTECTED]>
cc:
02-07-01 Subject: Determining if Tomcat is running
04:15 PM
Please
respond to
tomcat-user
hey all,
Is it possible to determine if Tomcat is running?
I'm using Tomcat as a standalone server.
Occasionally Tomcat goes down and the page will not display. It's just gets
stuck.
Is there some way I can redirect a user if the servletEngine goes down?
Any suggestions would be greatly appreciated
--
NOTICE: The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential. If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.