Apache Tomcat: Determine Version

Hi,

this post describes how to determine which version of an Apache tomcat server is running.

This can be done by calling the

org.apache.catalina.util.ServerInfo 

methode in catalina.jar

An example. VMware vSphere uses an Apache Tomcat. Locate the java.exe and the catalina.jar and call

c:\> >"C:\Program files\VMware\vCenter Server\jre\bin\java.exe" -cp "C:\Program files\VMware\vCenter Server\apachetomcat\lib\catalina.jar" org.apache.catalina.util.ServerInfo
Server version: Apache Tomcat/8.5.40
Server built:   May 7 2019 07:40:55 UTC
Server number:  8.5.40.0
OS Name:        Windows Server 2016
OS Version:     10.0
Architecture:   amd64
JVM Version:    1.8.0_221-b11
JVM Vendor:     Oracle Corporation

Michael

Leave a Reply