Steps To Apply License File - Tomcat Application Server (non-docker)

Steps to apply QMetry license file

Once you have received your QMetry license file "license.key" from support, follow the below steps to apply it to your server:

  • Go to your QMetry tomcat installation directory: ../QMetry/bin/
  • Backup your existing license.key to the same location: mv license.key license_old.key
  • Copy the new license.key to ../QMetry/bin directory.

Mandatory restart of services to reflect the license.

  • Go to QMetry Tomcat installation directory: cd ../QMetry/bin/
  • Run the below commands on Linux machine.
    • ./shutdown.sh
    • ./startup.sh
  • Run the below commands on Windows machine.
    • shutdown.bat
    • startup.bat
  • Note : In case you have configured Redis Caching for QMetry installed on same server OR a separate server - connect to that server and run the below commands :
    • To view existing containers : docker ps
    • Replace the container name seen in above command : docker exec -it container-name redis-cli FLUSHALL