In this section:
License Server is available as a self-deployed distribution or as a web archive that can be deployed to your Tomcat server (see Installing License Server).
All files for License Server 5.4.3 and older were installed in a single directory, but the current version of License Server installs into two main directories:
In this documentation, <LS_INSTALL>
refers to the application directory location and <LS_DATA_DIR>
refers to the data directory location for both operating systems.
License Server includes the PSTSecConfig.xml file, which contains configuration settings for the User Administration module.
License Server 2020.1 and later ships with a single PSTSecConfig.xml in the <LS_DATA_DIR>/conf
directory.
License Server 5.4.3 and older ships with two instances of the PSTSecConfig.xml file:
<LS_INSTALL>/tomcat/LicenseServer/conf/
file directory contains configurations for License Server.<LS_INSTALL>/tomcat/webapps/pstsec/conf
file directory contains configurations for User Administration (pstsec).If you made changes to either or both PSTSecConfig.xml files for License Server 5.4.3 or older, you need to make corresponding changes in the single PSTSecConfig.xml file after upgrading.
This topic describes upgrading the self-deployed License Server that ships with its own Tomcat server.
<LS_TEMP>/app
directory.Run the upgrade.bat script as an administrator with the -o
option and specify the path to the old version of License Server:
upgrade.bat -o <absolute_path_to_old_LS_install_dir> |
You can also run the script with the -h
option to print the script help to the console.
<LS_TEMP>/app
directory.Run the upgrade.sh script as an administrator with the -o
option and specify the path to the old version of License Server:
./upgrade.sh -o <absolute_path_to_old_LS_install_dir> |
You can also run the script with the -h
option to print the script help to the console.
This topic describes how to upgrade the licenseserver.war and pstsec.war files.
<TOMCAT>/LicenseServer
<TOMCAT>/webapps/pstsec/pstsec
<TOMCAT>/webapps/pstsec/conf
<TOMCAT>/webapps
directory:licenseserver
subdirectorypstsec
subdirectory<TOMCAT>/work/Catalina/localhost/licenseserver
<TOMCAT>/work/Catalina/localhost/pstsec
<TOMCAT>/webapps
directory and start Tomcat.webapps/pstsec/pstsec
and webapps/pstsec/conf
backup directories to their original locations and restart Tomcat.The process for upgrading your License Server in Docker is described below. You will need to back up your current License Server data directory and run the new container using the same volumes that your old container did. More information about the volumes used when the License Server container was created can be found here: Deploying License Server in Docker.
Stop your current License Server container.
docker stop <name-of-container> |
After an upgrade, you might need to manually recreate certain configurations previously made in the setVars.sh / setVars.bat file located in the <LSS_INSTALL>/app/
directory. Configurations you might have made include:
You might also need to manually restore configurations you made previously if you are using a custom keystore file and its path is not <LSS_INSTALL>/app/tomcat/conf/.keystore
.