Activating Server License - Linux Server

Server Applications

Server Applications written with LEADTOOLS require a LEADTOOLS Server Runtime License. The Server Runtime License must be activated within 7 days of the first use.

In order to activate a LEADTOOLS Server Runtime License, you must run the LEADTOOLS Server License Activator on the server that will host your server application. The LEADTOOLS Server License Activator can be found in this directory: "\LEADTOOLS22\Support\Common\License\Bin".

You can activate a license in one of two ways:

Automated License Activation

If your server can connect to the internet, use the automated license activation method.

  1. Set the license file paths in the LTLicActivator.sh to the original .LIC file emailed to you from LEADTOOLS. For example:

    leadtools_toolkit_path="/home/LEADTOOLS22" 
    license_file_path="/home/LEADTOOLS22/Support/Common/License/Bin/LEADTOOLS.lic" 
    license_key_file_path="/home/LEADTOOLS22/Support/Common/License/Bin/LEADTOOLS.lic.key" 
    output_path="/home" 
    leadtools_native_lib_path="$leadtools_toolkit_path/Bin/Lib/x64/libltkrn.so" 

  2. Run LTLicActivator.sh (the LEADTOOLS Server License Activator) on the server computer that will host your application. Set execution, read and write permission on the script and then run the script. For example:

    chmod ugo+xrw /LEADTOOLS22/Support/Common/License/Bin/LTLicActivator.sh 
    sh /LEADTOOLS22/Support/Common/License/Bin/LTLicActivator.sh 

  3. The activation script runs on either .NET Core or Java runtime environments. If neither one is installed, the registration fails with a warning and you will need to install one of the supported environments:

     License Activation Failed. 
     Must have DotNetCore or Java runtime installed. 

  4. Once the environment is installed, you have the license files, and the paths are correctly updated in the LTLicActivator.sh script, running the script will attempt to connect to the LEADTOOLS License Activation Service and activate this .LIC.

    If the internet connection fails, you will be prompted to contact LEAD sales, skip the next step, and follow the Manual License Activation instructions:

        Connection failure, please send "/LEADTOOLS22/Act/Server.txt" file to LEAD sales 

  5. Save the generated server .LIC file (i.e., the activated license), and then use it in your server application.

Manual License Activation

If your server cannot connect to the internet, use manual license activation.

  1. Run LTLicActivator.sh (the LEADTOOLS Server License Activator) on the server computer that will host your application. Follow the steps 1, 2 and 3 in Automated License Activation.

  2. Copy the generated Server.txt containing the generated Machine ID string produced from running the script and no internet access is possible:

    Connection failure, please send "/LEADTOOLS22/Act/Server.txt" file to LEAD sales 

  3. On a machine that does have the ability to connect to the internet, visit: https://www.leadtools.com/licenseportal/.

  4. When you connect to the license portal you will need to log in. Then you can enter the Machine Id string from the Server.txt, and upload the original .LIC file emailed to you from LEADTOOLS.

  5. Save the generated server .LIC file (i.e., the activated license), and then use it in your server application.

Unactivated Server Runtime License

Note

When you deploy a server application that uses LEADTOOLS, it will run for only 7 days with an un-activated Server Runtime License.

The generated server .LIC file (i.e., the activated license), can only be used on the server where it was generated. If you attempt to use it on another machine you will receive an error.

The generated server .LIC file (i.e., the activated license), cannot be used with the LEADTOOLS Server License Activator. Only the original .LIC file emailed to you from LEADTOOLS can be used with the LEADTOOLS Server License Activator.

For more information about LEADTOOLS Licensing, refer to About Software Developer Kit Licensing.

Help Version 22.0.2021.9.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.