others-how to check tomcat's version?

1. Purpose

In this post, I will show you how to check apache tomcat’s version.



2. Solution

  • 1) goto tomcat’s lib directory

  • 2) run the following command:

    java -cp catalina.jar org.apache.catalina.util.ServerInfo
    

you will get this:

Server version: Apache Tomcat/8.0.32
Server built:   Jan 18 2016 10:44:14
Server number:  8.0.32.0
OS Name:        Linux
OS Version:     2.8.0-422.2.1.el6.x86_64
Architecture:   amd64
JVM Version:    1.11.0_12-b25
JVM Vendor:     Oracle Corporation



3. Summary

In this post, I demonstrated how to check apache tomcat’s version . That’s it, thanks for your reading.