How to determine what version of Tomcat your TIBCO Spotfire Server is using

How to determine what version of Tomcat your TIBCO Spotfire Server is using

book

Article ID: KB0076631

calendar_today

Updated On:

Products Versions
Spotfire Server All Versions

Description

This article provides the commands used to check the exact version of Tomcat a TIBCO Spotfire Server is currently using on either Windows or Linux.

Issue/Introduction

This article helps you provide commands to check the exact version of Tomcat a TIBCO Spotfire Spotfire server is currently using.

Resolution

For Windows:

1) To find out Tomcat version, go to the location <serverinstall dir>\tomcat\bin and verify if the file "version.bat" is available.
2) Open a command prompt as an administrator and cd to the bin folder of the spotfire server installation directory (<server install dir>\tomcat\bin)
3) In the command prompt execute the batch script "version.bat" to get the Apache Tomcat version. 
Example: C:\tibco\tss\7.11.0\tomcat\bin>version.bat
Output:-
Using CATALINA_BASE:   "C:\tibco\tss\7.11.0\tomcat"
Using CATALINA_HOME:   "C:\tibco\tss\7.11.0\tomcat"
Using CATALINA_TMPDIR: "C:\tibco\tss\7.11.0\tomcat\temp"
Using JRE_HOME:        "C:\tibco\tss\7.11.0\jdk\jre"
Using CLASSPATH:       "C:\tibco\tss\7.11.0\tomcat\bin\bootstrap.jar;C:\tibco\tss\7.11.0\tomcat\bin\tomcat-juli.jar"
Server version: Apache Tomcat/8.5.20
Server built:   Aug 2 2017 21:35:49 UTC
Server number:  8.5.20.0
OS Name:        Windows Server 2012 R2
OS Version:     6.3
Architecture:   amd64
JVM Version:    1.8.0_144-b01
JVM Vendor:     Oracle Corporation
This will also allow you to check the version of Java being used.


For Linux:​

1) To find out Tomcat version, go to the location <serverinstall dir>\tomcat\bin and verify if the file "version.sh" is available.
2) Open a Terminal and cd to the bin folder of the spotfire server installation directory (<server install dir>\tomcat\bin")
3) Once you are in the <server install dir>\tomcat\bin folder, you can run version.sh script as below:
Example:
[support@tss-linux ~]$ cd /DATA/tibco/tss/7.12.x/tomcat/bin/
[support@tss-linux bin]$ ./version.sh
Using CATALINA_BASE:   /DATA/tibco/tss/7.12.x/tomcat
Using CATALINA_HOME:   /DATA/tibco/tss/7.12.x/tomcat
Using CATALINA_TMPDIR: /DATA/tibco/tss/7.12.x/tomcat/temp
Using JRE_HOME:        /home/support/tibco/tss/7.12.x/jdk/jre
Using CLASSPATH:       /DATA/tibco/tss/7.12.x/tomcat/bin/bootstrap.jar:/DATA/tibco/tss/7.12.x/tomcat/bin/tomcat-juli.jar
Using CATALINA_PID:    /home/support/tibco/tss/7.12.x/tomcat/bin/catalina.pid
Server version: Apache Tomcat/8.5.27
Server built:   Jan 18 2018 20:12:40 UTC
Server number:  8.5.27.0
OS Name:        Linux
OS Version:     2.6.32-696.1.1.el6.x86_64
Architecture:   amd64
JVM Version:    1.8.0_161-b12
JVM Vendor:     Oracle Corporation