License Validation Error During Clustering

This article documents a license validation error that takes place when the wrong activation key is deployed during clustering, and lists steps to resolve the issue or avoid it altogether. 

Summary

Deploying a developer activation key will not allow clustering between nodes. 

Error

Portal Development license validation failed

java.lang.Exception: Clustering has been detected. Developer licenses do not allow for clustering.

NOTE: Clustering module is only available for Enterprise Subscriptions to Liferay Digital Enterprise 7.0, and thereby Community Edition users will be unable to access the clustering module in Liferay Digital Enterprise 7.0.

Resolution

Common Causes

In order to perform clustering, cluster.link.enabled needs to be set to true and the license manager will verify the activation key. If the deployed key is not a clustering activation key, it will cause the error Portal Development license validation failed to display. 

Recommended Solution

  • Obtain a clustering activation key
  • Start up the portal
  • Drop the file (activation key) in the deploy folder

Prevention Tips
Determine how Liferay Digital Enterprise 7.0 will be utilized and obtain the appropriate activation key.

  • For clustering, obtain the cluster activation key
  • For testing and development, obtain the developer activation key
¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0