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 survice a redeployment.
in the ../META-IF/context.xml of the deployment itself. When configuration parameters are updated, this file is overwritten
the Tomcat-wide context.xml: applies to all deployments on this Tomcat instance, even when Tomcat is updated and Service-Config is rewritten.