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.
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>/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;Customerfirstname.lastname@example.org;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!
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.
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:
xap-license.txtfile in the Classpath.
xap-license.txtfile in XAP installation folder (can be explicitly set using
xap-license.txtfile in the current directory.