Tomcat: How to find out running tomcat version

前端 未结 27 1936
臣服心动
臣服心动 2020-11-30 16:18

I\'m trying to get Appfuse + tomcat + jRebel working.

Appfuse by default uses Cargo to download tomcat (ver. 7.0.33) and deploy the application to it. I wish to use

27条回答
  •  一个人的身影
    2020-11-30 17:02

    This one command which you can check almost everything:

    java -cp tomcat/lib/catalina.jar org.apache.catalina.util.ServerInfo
    

    or

    tomcat/bin/catalina.sh version
    

    And the output looks like this

    Server version: Apache Tomcat/8.5.24
    Server built:   Nov 27 2017 13:05:30 UTC
    Server number:  8.5.24.0
    OS Name:        Linux
    OS Version:     4.4.0-137-generic
    Architecture:   amd64
    JVM Version:    1.8.0_131-b11
    JVM Vendor:     Oracle Corporation
    

提交回复
热议问题