Problem
Getting license error "Borland Enterprise Server License error[1031]: No license found for this product"
Resolution:
This error indicates that VisiBroker's environment variables to 'license' and 'var' directories (ie. BES_LIC_DEFAULT_DIR and BES_LIC_DIR) are not set properly and/or the login user doesn't have the 'write' access to these 2 directories and their files.
If the error still exists even after fixing the above mentioned issues, you should check the version of libraries which the application has linked with and current installation of VisiBroker by enabling licensing debug as below:
- For Java application, please add "borland.enterprise.licenseDebug=console" in the application's properties file.
- For C application, please set the environment variable "BES_LIC_TRACE=4".
If the application has been linked with VB6.5, but the current version of VB is 7.0, the following messages can be found in the licensing debug logs:
- A. "isFeatureEnabled():NotifierMainThread top of loop5006:43:"
- B. "loaded SKU with product id:5007 "
Message A shows that the product id is 5006 (which corresponds to VisiBroker 6.5), while message B shows that the product id is 5007 (which corresponds to VisiBroker 7.0). This error can occur when the application links to different versions of VisiBroker libraries.
The resolution to this issue is to re-compile the application and link to the target version of the libraries.
Note that the product ID for VisiBroker 8.0 is 5008.
#license
#VisiBroker
#Security