This page describes an older version of the product. The latest stable version is 12.2.

License Key


GigaSpaces XAP Premium and Enterprise editions require a valid license to start. This page explains how to setup the initial evaluation license and provides additional related information.

Getting started

When downloading XAP Premium or Enterprise from the XAP Download Center, you’ll get an email with a license key for the evaluation period. To start your evaluation, simply edit the license file located in <XAP_HOME>\Runtime\xap-license.txt with any text editor, and copy the license key from the email to a blank line in the file. For example:

# License can also be set via the system property com.gs.licensekey
Version=12;Type=EVALUATION;Customer=yourname@yourcompany.com;Expiration=2016-Dec-31;Hash=NP6SQOOdOZrPRcN9OTYQ

If you’re using more than one machine for the evaluation, make sure you copy the license to each of those machines.

That’s it! You’re good to go!

Viewing the license in the logs

When the system starts, it writes an information summary to the logs and console, including the license key. You can use that to verify that the system is using the correct license key.

License Validation

XAP validates the license whenever the Service Grid is started. If the license is invalid (e.g. expired), the system will report there’s a license problem and terminate. If the license expires while the system is running, it is not terminated, but if one of the system’s components fails and tries to restart, it will fail because the license has expired.

License Lookup Order

The system looks for the license key in the following order:

  1. The com.gs.licensekey system property.
  2. A xap-license.txt file in the Classpath.
  3. A xap-license.txt file in XAP installation folder (can be explicitly set using com.gs.home system property)
  4. A xap-license.txt file in the current directory.