...
- Stop License Server.
Download the Tomcat version to which you wish to upgrade (for example, apache-tomcat-<VERSION>.tar.gz) to download
<DOWNLOAD_
dirDIR>
and unarchive the .gz file:Code Block language bash theme Midnight tar -xvzf apache-tomcat-<VERSION>.tar.gz
Rename the directory to
tomcat
:Code Block language bash theme Midnight mv apache-tomcat-<VERSION> tomcat
Delete web apps shipped with
tomcat
Tomcat:Code Block language bash theme Midnight cd tomcat/webapps rm -rf *
Make copies of the following configuration files and save them outside
<LSS_INSTALL>/app
:server.xml in
<LSS_INSTALL>/app/tomcat/conf/
server.xmlcatalina.properties in
<LSS_INSTALL>/app/tomcat/conf/
catalina.properties(Optional) Your keystore file if you are using a file other than the .keystore file shipped with License Server in the
<LSS_INSTALL>/app/tomcat/conf/
directory
Copy the new
tomcat
directory into the<LSS_INSTALL>/app
directory. This will upgrade Tomcat shipped with License Server:Code Block language bash theme Midnight cp -rfv download_dir/tomcat/ <LSS_INSTALL>/app > cp.txt
Verify that copy command has executed successfully by checking the cp.txt file
If there are multiple versions of ecj-<VERSION>.jar libraries, remove the existing ecj-<VERSION>.jar library that is no longer needed:
Code Block language bash theme Midnight rm <LSS_INSTALL>/app/tomcat/lib/ecj-<VERSION>.jar
Copy the configuration files you saved from the original
<LSS_INSTALL>/app/tomcat/conf/
directory (step 5) into the new<LSS_INSTALL>/app/tomcat/conf/
directory:Code Block language bash theme Midnight cp server.xml <LSS_INSTALL>/app/tomcat/conf/ cp catalina.properties <LSS_INSTALL>/app/tomcat/conf/ cp <YOUR_KEYSTORE_FILE> <LSS_INSTALL>/app/tomcat/conf/.keystore
Start License Server.