Once the tomcat is installed in your machine and you want to know the version information related to tomcat, then you can execute the "ServerInfo" java class.
1. cd to tomcat installation directory, i.e., CATALINA_HOME
cd "c:\Program Files\Apache Software Foundation\Tomcat 6.0\
2. Run the ServerInfo class as below:
java -cp lib\catalina.jar org.apache.catalina.util.ServerInfo
This should show the information like below:
Server version: Apache Tomcat/6.0.37
Server built: Apr 29 2013 11:34:47
Server number: 6.0.0.37
OS Name: Windows 7
OS Version: 6.1
Architecture: amd64
JVM Version: 1.6.0_45-b06
JVM Vendor: Sun Microsystems Inc.
1. cd to tomcat installation directory, i.e., CATALINA_HOME
cd "c:\Program Files\Apache Software Foundation\Tomcat 6.0\
2. Run the ServerInfo class as below:
java -cp lib\catalina.jar org.apache.catalina.util.ServerInfo
This should show the information like below:
Server version: Apache Tomcat/6.0.37
Server built: Apr 29 2013 11:34:47
Server number: 6.0.0.37
OS Name: Windows 7
OS Version: 6.1
Architecture: amd64
JVM Version: 1.6.0_45-b06
JVM Vendor: Sun Microsystems Inc.
No comments:
Post a Comment