I am no expert, but I thought there was a thing called a LifecycleListener where server.xml can be configured to call some java code upon startup of tomcat, this would do what you want yes?

Caldarale, Charles R wrote:
From: cifroes [mailto:[EMAIL PROTECTED] Subject: timestamp of tomcat startup?

Is there a easy way to get this timestamp without modifying tomcat source code?

The message is logged by org/apache/catalina/startup/Catalina.java, but
it does not appear to save the time value anywhere.  I suppose you could
scan the log, looking for that particular message, but that's not
exactly an elegant solution.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to