Tomcat: How to find out running Tomcat version?

Though this is not recent, I thought, my answer can still help others: cd tomcat/lib java -cp catalina.jar org.apache.catalina.util.ServerInfo and that’s it. Server version: Apache Tomcat/7.0.30 Server built: May 23 2013 02:54:10 Server number: 7.0.30.0 OS Name: Linux OS Version: 3.13.0-36-generic Architecture: amd64 JVM Version: 1.7.0_65-b32 JVM Vendor: Oracle Corporation

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)