The license file needs to be placed in the configured directory.
There are multiple options to specify this directory:
by environmental variable TIA_LICENSE_PATH: This will apply to ALL deployments and also survive a redeployment. This is useful 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.
NOTE: If the file does not exist, create it.
<?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-Config is rewritten.