Order of Searching for a License
A FlexEnabled application looks for a license file as follows:
|
1.
|
When the VENDOR_LICENSE_FILE environment variable has been set for the publisher of the application, then items in the license search path set in this environment variable are searched in order. |
|
2.
|
The items in a license search path set in the LM_LICENSE_FILE environment variable are searched in order. |
|
3.
|
When any license file specified in a license search path contains a USE_SERVER line, then a license is requested from the license server specified in the SERVER line. Any FEATURE and INCREMENT lines entries after the USE_SERVER line in the license file are ignored. |
|
4.
|
When the environment variables are not set and the FlexEnabled application does not specify the location of the license, then the following default locations are searched: |
|
•
|
On UNIX—/usr/local/flexlm/licenses/license.dat |
|
•
|
On Windows—C:\flexlm\license.dat |
When licenses are held in trusted storage on the same machine as the FlexEnabled application, normally the publisher will have configured the application to search local trusted storage first and then look for license files as previously described.
See Also
Managing Multiple License Files for more information about LM_LICENSE_FILE.
Environment Variables
Ensuring License Availability