The following forms can be used to specify the license path:
- A single file ...
- port@host ...
- A redundant server configuration ...
- A license certificate in a string. Precede the license certificate string with the string
FlexlmConstants.LICENSE_STRING_PREFIX
and end it with the string
FlexlmConstants.LICENSE_STRING_SUFFIX
protected com.macrovision.flexlm.License loadFlexlmLicenseFromString(String licenseStr) throws LicensingException {
com.macrovision.flexlm.License flexLicense = null;
try {
String licenseSource = FlexlmConstants.LICENSE_STRING_PREFIX
+ licenseStr
+ FlexlmConstants.LICENSE_STRING_SUFFIX;
log.info("loading flexlm license string");
flexLicense = new com.macrovision.flexlm.License(myFeature, licenseSource, myVendorInfo, null);
return flexLicense;
}
catch (Exception e) {
log.info("caught exception loading flexlm license: ", e);
throw new LicensingException(e);
}
}
com.macrovision.flexlm.FlexlmListException: Error List Returned (-513,7) ; Error List Returned (-513,4052) ; Can't Find License File (-1,4042)
‎Jul 28, 2010 10:44 AM
‎Jul 29, 2010 05:33 PM