Back to Zing Documentation Home
Installing a Zing License
Once you have obtained a Zing license file issued by Azul, copy the license file,
license, to one of the following locations on your ZVM host:
<a directory of your choice>/license
If you copy the license file to any other location of your choice, then you must add -
XX:ZingLicenseFile=<filename> to your ZVM instance launch command. Optionally, a directory that contains a license file can be specified in the
-XX:ZingLicenseFile option. Zing scans the specified directory until it detects and validates a license file.
The following locations are checked for a license which is either a file or a directory in order of priority:
- the value of the
- the environment variable
ZING_LICENSE(useful when starting a Docker container with an installed Zing ZVM by adding
--env ZING_LICENSE="$(cat some_directory/license)"as a command-line parameter)
If the license is a directory, the filename that contains the license does not matter.
Licenses allow ZVM instance launches up to the end of the day they are due to expire within the local timezone specified in the license.
Depending upon your license agreement with Azul, you might see messages showing your license is expired but the ZVM instance has been allowed to launch. If you see these messages, contact your Azul representative to extend your license.
To diagnose an error related to license validation, use
-Xlog:license=debug. The diagnostic information helps understand the details of the license checkout failure.
Using Azul OEM Master License Key
The OEM license inspects the checksum of the JAR file for the bound application. Starting with Zing 18.01.0.0, applications where binding to main class create operation difficulties, can now successfully start with Zing with the
-XX:ZingLic=<path to the OrgJarLock file> command-line option.
Contact [email protected] to obtain a signed
Zing.OrgJarLock.For.Customer.jar. When the
OrgJarLock file is available, use the following command-line options when running OEM applications with Zing:
-XX:ZingLic=<path to the OrgJarLock file>– specifies absolute or relative path to the
-XX:ZingLicTmpDir=<path to the OrgJarLock temporary files>– specifies an alternative location for the
OrgJarLocktemporary files. By default, ZVM extracts temporary files from
/tmp/oemlicdata/<pid>.XXXXX, where pid is a PID of the process, XXXXX is a random temporary filename.
OrgJarLock temporary files are deleted after license verification. To keep them, use the
-XX:-CleanZingLicTmpDir command-line option.
© Azul Systems, Inc. 2020 All rights reserved.