Exploring Thoughtz..

Posts Tagged ‘tomcat

Getting the Tomcat Version

Posted by: Vijay Dev on: August 22, 2008

The exact version number of a Tomcat 6 server is stored in the ServerInfo.properties file that is located in $TOMCAT_HOME/lib/catalina.jar/org/apache/catalina/util. This file can be found in $TOMCAT_HOME/server/lib/catalina.jar/org/apache/catalina/util in case of Tomcat 5.5 and earlier.
The getServerInfo() method can be used when there is a need to determine the version numbers from inside the web application.


Blog Stats

  • 22,312 Visitors

  • Yann: Hello! Could you expand your example for the a bit not-so-hapy java users like me, and describe how to compile and run your code? That would be awesom
  • Anuraj Pandey: Some one is mis-using my id..i got the notification of the above comment..however i havent posted the comment :(
  • Anuraj Pandey: if u have some kind of pdf/text of the material u removed..it will be highly appreciable if u help me..i have my first google intern telephonic interv

My Tweets

About Me

Journey so far…