Location of the license file

The license file needs to be placed in the configured directory.

 

There are multiple options to configure the license directory:

  • by environmental variable TIA_LICENSE_PATH: This will apply to ALL deployments and also survive a redeployment. This is recommended for containerized deployments.

  • in the ../META-INF/context.xml of the deployment itself. When configuration parameters are updated, this file is overwritten. This is the recommended configuration location for war-deployments.

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Context> <Context> <Parameter name="tia.license.path" value="<absolute path>" override="true" /> </Context>
  • the Tomcat-wide context.xml: applies to all deployments on this Tomcat instance, even when Tomcat is updated and service-configuration is rewritten.

 

For general information about tia application-wide configuration see Application wide settings .