Tomcat: How to find out running Tomcat version?
Though this is not recent, I thought, my answer can still help others:
cd tomcat/lib java -cp catalina.jar org.apache.catalina.util.ServerInfo
and that's it.
Server version: Apache Tomcat/7.0.30Server built: May 23 2013 02:54:10Server number: 7.0.30.0OS Name: LinuxOS Version: 3.13.0-36-genericArchitecture: amd64JVM Version: 1.7.0_65-b32JVM Vendor: Oracle Corporation
- Try parsing or executing the Tomcat_home/bin directory and look fora script named version.sh or version.bat depending on youroperating system.
- Execute the script
./version.sh
orversion.bat
If there are no version.bat or version.sh thenuse a tool to unzipping JAR files (\tomcat\server\lib\catalina.jar) and look in the file org\apache\catalina\util\lib\ServerInfo.properties.the version defined under "server.info=".
execute the script in your tomcat/bin
directory:
sh tomcat/bin/version.shServer version: Apache Tomcat/7.0.42Server built: Jul 2 2013 08:57:41Server number: 7.0.42.0OS Name: LinuxOS Version: 2.6.32-042stab084.26Architecture: amd64JVM Version: 1.7.0_21-b11JVM Vendor: Oracle Corporation