Description
The version of Apache Tomcat being used by NetBackup or OpsCenter can be determined by two methods.
Method 1 - Current release notes
Open the text file RELEASE-NOTES in the Apache Tomcat directory location as appropriate for the application.
There will be an entry towards the top of the RELEASE-NOTES file that states the version number. This entry looks similar to the following example:
Apache Tomcat Version 8.5.39
Release Notes
In NetBackup
Windows: <install_path>\NetBackup\wmc\webserver\RELEASE-NOTES
Linux: /usr/openv/wmc/webserver/RELEASE-NOTES
In OpsCenter
Windows: <install_path>\Symantec\OpsCenter\gui\webserver\RELEASE-NOTES
Linux: /opt/SYMCOpsCenterGUI/webserver/RELEASE-NOTES
Method 2 - Use Java to Query Catalina
The java command may be used to query the catalina.jar file, which will show the metadata associated with the installed libraries. Specifically, it will show the ServerInfo information.
An example output from a Windows NetBackup 8.2 master server:
Server version: Apache Tomcat/8.5.39
Server built: Mar 14 2019 11:24:26 UTC
Server number: 8.5.39.0
OS Name: Windows Server 2008 R2
OS Version: 6.1
Architecture: amd64
JVM Version: 1.8.0_211-b12
JVM Vendor: Oracle Corporation
In NetBackup
Note: Commands entered on single line
Windows: <install_path>
\NetBackup\jre\bin >
java -cp
"install_path>\NetBackup\wmc\webserver\lib\catalina.jar" org.apache.catalina.util.ServerInfo
Linux: /usr/openv/java/jre/bin # java -cp /usr/openv/wmc/webserver/lib/catalina.jar org.apache.catalina.util.ServerInfo
In OpsCenter
Windows: <install_path>\Symantec\OpsCenter\server\jre\bin > java -cp "<install_path>\OpsCenter\gui\webserver\lib\catalina.jar" org.apache.catalina.util.ServerInfo
Linux: /opt/SYMCOpsCenterServer/jre/bin # java -cp /opt/SYMCOpsCenterGUI/webserver/lib/catalina.jar org.apache.catalina.util.ServerInfo