Check Tomcat version 7 linux version

How to check tomcat 7 version installed on RHEL? I looked in the bin directory and cannot find version.sh.

+5
source share
2 answers

You can publish jsp with the following scriptlet:

<%= application.getServerInfo() %>

Or grep catalina.out for a string, for example:

INFO: Starting Servlet Engine: Apache Tomcat/7.0.37

Or look at the file org/apache/catalina/util/ServerInfo.propertiesinside lib / catalina.jar .

Just to give you 3 options;).

+4
source

Try this to see the names and versions of any Tomcat RPM packages that are installed:

$ sudo rpm -qa | grep tomcat
0
source

All Articles