Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two server instances TOMCAT 5.5 and TOMCAT 5.0.28, My application running on TOMCAT5.5. some body have stopped my TOMCAT5.5 and started TOMCAT 5.0.28 (May be accidentally). Can any body help me to find the TOMCAT 5.0.28 start up and shutdown time, I have tried to find at Event viewer but couldn't get any info I tried also at commons-daemon.log and localhost.log (may be deleted by some one) is there any possible way to find, other than above possiblities


share|improve this question

You should be able to find a logs folder under your installation director. In there, you'll find a catalina log (or localhost or any variant) file. In this log file, you will find the information you are looking for.

share|improve this answer
Thanks for the answer, But I have checked there already, where I have the files commons-daemon.log and localhost.log in log folder But they were deleted – Suman Kumar Gadhiraju Feb 18 '13 at 6:13
If you have JMX enabled, use JConsole to find the uptime of the server. – ETL Feb 18 '13 at 14:43

Since you don't have the logs anymore, create a JSP file and put this in it:

    RuntimeMXBean mx = ManagementFactory.getRuntimeMXBean();

    System.out.println("VM start time : " +  new Date(mx.getStartTime()));
    System.out.println("VM up time : " +  mx.getUptime() + " ms");
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.