⚙️ Apache Tomcat: Check Version

⚙️ Apache Tomcat: Check Version

Summary:

In this quick article I’ll show you how you can check Apache Tomcat version. We will be using only the cmd and a method from catalina.jar

tomcat version in error page - ⚙️ Apache Tomcat: Check Version

Hi, in this quick article I’ll show you how you can check Apache Tomcat version.

To check the Tomcat version, we are going to use

org.apache.catalina.util.ServerInfo 

method in Catalina.jar

Here is an example on a virtual machine (VMware vSphere that uses Apache Tomcat).

With the following command we can locate the java.exe and the catalina.jar and call

"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

The result looks like this:

image 1 - ⚙️ Apache Tomcat: Check Version

whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.