Upgrading the Tomcat application
As a TrueSight Smart Reporting administrator, you can upgrade your Tomcat application.
The TrueSight Smart Reporting installer does not include a Tomcat upgrade. Ensure that you monitor and control Tomcat upgrades to mitigate security risks.
Do the following:
Download a Tomcat application to a 9.0.x version that is later than 9.0.30 from the following website:
https://tomcat.apache.org/download-90.cgi- Extract the Tomcat files to a new location, and note the location.
- Stop the TrueSightSmartReporting service.
- Back up the following folders and file and save them in a safe location:
- <install_directory>/appserver/lib
- <install_directory>/appserver/bin
- <install_directory>/appserver/conf/server.xml
- (Windows) Remove any files from the <install_directory>/appserver/bin folder that have tomcatX in the file name, where X is the version of Tomcat.
For example, tomcat7.exe, tomcat7.exe.x64, tomcat7w.exe. - Remove all files from the <install_directory>/appserver/lib directory.
- Browse to the location where you extracted Tomcat and copy the contents of the /lib folder into the <install_directory>/appserver/lib directory.
- Browse to the location where you extracted Tomcat.
- From the /bin directory, copy the following files and paste them into the <install_directory>/appserver/bin folder:
- All .jar files.
If there are any files with the same name, replace them. - (Windows) All tomcatx executable files, where x is the version number.
For example tomcat7.exe, tomcat7.exe.x64, and tomcat7w.exe
- All .jar files.
- (Windows) Install the TrueSight Smart Reporting service. Complete the following steps:
- Delete the existing TrueSight Smart Reporting Windows service by running the following command:
sc delete TrueSightSmartReporting - Browse to the Tomcat folder that you extracted.
- From the /bin folder, copy the service.bat file and paste it in the <install_directory>/appserver/bin folder.
If the file already exists in this folder, replace it. - Go to the backup folder and open the <backup_directory>/appserver/bin/service.bat file.
- Copy all the lines between setlocal and set "SELF=%~dp0%service.bat.
Paste the lines in the <install_directory>/appserver/bin/service.bat file, above the set "SELF=%~dp0%service.bat line.
- Repeat the process for the following lines that are available below the "%EXECUTABLE%" //IS//%SERVICE_NAME% ^ line:
- Description "The TrueSight Smart Reporting application server provides web-based access to view, analyze, and report on data from TrueSight solutions." ^
- DisplayName "%DISPLAYNAME%" ^
- Delete the existing TrueSight Smart Reporting Windows service by running the following command:
- Open the <install_direcotory>/appserver/conf/server.xml file.
- Search for the Connector tag and add the following parameter at the end of the tag:
server="Application Server"
For example, see the following image: - Navigate to the <install_directory>/appserver/bin directory, and run the following command:
Service install TrueSightSmartReporting - Start the TrueSightSmartReporting service.
- Confirm that TrueSight Smart Reporting runs with the Tomcat version that you need.
- Use the following URL for your application server details:
https://<hostname>:<port>/info.jsp
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*