jeudi 1 mai 2014

Vérifier la Version de Tomcat 7 linux - Stack Overflow


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




You can publish a jsp with the following scriptlet:


<%= application.getServerInfo() %>

Or grep catalina.out for a line like:


INFO: Starting Servlet Engine: Apache Tomcat/7.0.37

Or take a look at the file org/apache/catalina/util/ServerInfo.properties inside lib/catalina.jar.


Just to give you 3 options ;).




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


$ sudo rpm -qa | grep tomcat


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



You can publish a jsp with the following scriptlet:


<%= application.getServerInfo() %>

Or grep catalina.out for a line like:


INFO: Starting Servlet Engine: Apache Tomcat/7.0.37

Or take a look at the file org/apache/catalina/util/ServerInfo.properties inside lib/catalina.jar.


Just to give you 3 options ;).



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


$ sudo rpm -qa | grep tomcat

0 commentaires:

Enregistrer un commentaire