DTP ships with a fixed instance of Tomcat server that is used to run the applications included with DTP. Refer to the release notes for information about any Tomcat upgrades associated with each release. The following instructions are intended to provide guidance if you need to upgrade the Tomcat server shipped with DTP and cannot wait until for the next DTP release. The instructions only cover the following specific upgrade scenario:
- DTP version: 2020.2
- OS: Linux
- Tomcat shipped with DTP: 9.0.38
- Target version of Tomcat: 9.0.41
We cannot verify that upgrading Tomcat to any other version shipped with any other release of DTP will function as expected and is not recommended.
- Stop DTP Server, Data Collector, and Enterprise Pack. See Stopping DTP Services.
Download apache-tomcat-9.0.41.tar.gz to download_dir and unarchive the .gz file:
Rename the directory to
Delete web apps shipped with
Make copies of the following configuration files and save them outside <DTP_INSTALL>:
(Optional) Your keystore file if you are using a file other than the .keystore file shipped with DTP in the <DTP_INSTALL>/tomcat/conf/ directory
Copy the new
tomcat(9.0.41) directory into the <DTP_INSTALL> directory. This will upgrade Tomcat shipped with DTP:
Verify that copy command has executed successfully by checking the cp.txt file
Remove the existing
ecj-4.15.jarlibrary that is no longer needed:
Copy the configuration files you saved from the original <DTP_INSTALL>/tomcat/conf/ directory (step 5) into the <DTP_INSTALL>/tomcat/conf/:
Start DTP Server, Data Collector, and Enterprise Pack. See Starting DTP Services.