Upgrading Tomcat
Summary
Security vulnerabilities have been identified in the version of Apache Tomcat that is included in version 24.3.00 of TrueSight Orchestration. We recommend that customers using version 24.3.00 of TrueSight Orchestration should upgrade to Tomcat version 9.0.100. Use the instructions described in this topic if you want to upgrade to Tomcat version 9.0.100 on TrueSight Orchestration Platform version 24.3.00.
FAQs
Upgrading Tomcat on Windows
Before you begin
Before you begin, ensure that you have met the following prerequisites:
Download the binaries for Tomcat version 9.0.100 from this link.
- Extract the downloaded ZIP file to a directory other than the <TSO_HOME> directory, which represents the directory in which you have installed any of the components on a server.
Ensure that the extracted directory structure contains the tomcat folder.
To upgrade Tomcat on Windows
- Stop the services for the peer on which you are upgrading Tomcat.
- Back up the existing tomcat folder in the <TSO_PEER_HOME> directory. For example, for the CDP peer, the tomcat folder is located in the CDP_HOME directory.
Navigate to the directories listed in the following table, copy the files and folders in the existing tomcat directory, and paste them into the same directories of the unzipped file.
Existing Tomcat directory paths
Files and folders to be copied
<TSO_PEER_HOME>\tomcat\bin\
- bao.bat file
- service.bat file
- tomcat9.exe file
<TSO_PEER_HOME>\tomcat\conf\
- .keystore file
- context.xml file
- server.xml file
- catalina.properties file
- Catalina folder
<TSO_PEER_HOME>\tomcat\lib\
- bao-connect.jar file
- commons-codec.jar file
- hsqldb*.jar file (for example, hsqldb-2.3.4.jar)
- javax.jws-api.jar
- log4j-1.2-api.jar
- log4j-api.jar
- log4j-core.jar
- log4j-slf4j-impl.jar
- not-yet-commons-ssl.jar
- security-common.jar
<TSO_PEER_HOME>\tomcat\
- webapps folder
- work folder
- logs folder
<TSO_PEER_HOME>\tomcat\temp
*.dll files (all files with the extension .dll)
- Delete the tomcat folder from the existing <TSO_PEER_HOME> directory. For example, C:\Program Files\BMC Software\BAO\CDP\tomcat.
- Copy the modified tomcat folder (modified in step 3, Tomcat version 9.0.100) to the <TSO_PEER_HOME> directory. For example, copy the tomcat folder to the C:\Program Files\BMC Software\BAO\CDP directory.
- Restart the peer services.
Upgrading Tomcat on Linux
Before you begin
Before you begin, ensure that you have met the following prerequisites:
Download the binaries for Tomcat version 9.0.100 from this link.
- Untar the downloaded TAR file to a directory other than the <TSO_HOME> directory, which represents the directory in which you installed any of the components on a server.
Ensure that the untarred directory contains the tomcat folder.
To upgrade Tomcat on Linux
- Stop the services for the peer on which you are upgrading Tomcat.
- Back up the existing tomcat folder in the <TSO_PEER_HOME> directory. For example, for the CDP peer, this folder is located in the CDP_HOME directory.
Navigate to the directories listed in the following table, copy the files and folders in the existing tomcat directory, and paste them into the same directories of the untarred file.
Existing Tomcat directory paths
Files and folders to be copied
<TSO_PEER_HOME>/tomcat/conf/
- .keystore file
- context.xml file
- server.xml file
- catalina.properties file
- Catalina folder
<TSO_PEER_HOME>/tomcat/lib/
- bao-connect.jar file
- commons-codec.jar file
- hsqldb*.jar file (for example, hsqldb-2.3.4.jar)
- javax.jws-api.jar
- log4j-1.2-api.jar
- log4j-api.jar
- log4j-core.jar
- log4j-slf4j-impl.jar
- not-yet-commons-ssl.jar
- security-common.jar
<TSO_PEER_HOME>/tomcat/
- webapps folder
- work folder
- logs folder
- Delete the tomcat folder located in the existing <TSO_PEER_HOME> directory. For example, /opt/bmc/BAO/CDP/tomcat.
- Copy the modified tomcat folder (modified in step 3, Tomcat version 9.0.100) to the <TSO_PEER_HOME> directory. For example, copy the tomcat folder to the /opt/bmc/BAO/CDP/ directory.
- Restart the peer services.
Rolling back the Tomcat upgrade
- Stop the services for the peer on which you have upgraded Tomcat.
- Replace the tomcat folder in the <TSO_PEER_HOME> directory with the backed up tomcat folder.
- Start the services for the peer.