Tomcat: How to find out running tomcat version

前端 未结 27 1932
臣服心动
臣服心动 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 16:54

    The version of currently running Tomcat

    If you set the environtment variable - %CATALINA_HOME%, then Windows :

    >> cd %CATALINA_HOME%\bin
    >> version
    

    Alternatively,

    java.exe -cp lib\catalina.jar org.apache.catalina.util.ServerInfo
    

    MY SETTING --- Hope yours will be similar to as follows

    %CATALINA_HOME% --- C:\Program Files\Tomcat\apache-tomcat-8.0.28
    

    OUTPUT

    Server version: Apache Tomcat/8.0.28 Server built: Oct 7 2015 18:25:21 UTC Server number: 8.0.28.0 OS Name: Windows 7 OS Version: 6.1 Architecture: amd64 JVM Version: 1.8.0_111-b14 JVM Vendor: Oracle Corporation

提交回复
热议问题