This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- Error Accessing Licensing Details on Linux
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 05, 2008
05:57 PM
Error Accessing Licensing Details on Linux
I'm having the following problem on Linux (fc3) but not on Windows. What I'm doing is writing a Java program to list out all the features currently supported by the active license manager, and displaying some information I placed in the NOTICE field of the FEATURE line in the license file. My code looks like this:
[CODE]......
ls = LicenseSource.createLicenseSource(licEnvVar, new demo(), null);
String[] featureList = ls.getFeatureList();
if (featureList != null) {
for (int i=0; i Feature[] details = ls.getFeatureDetails(featureList);
System.out.println("" + featureList);
for (int j=0; j if (details.getNotice() != null) {
System.out.println("" + details.getName() + "\t\t" + details.getNotice());
}
.........[/CODE]
The program is able to get the feature list, but it errors out at the getFeatureDetails(...) line. It gives the following exception message:
Again this works fine on Windows but not on Linux. The classpath and everything is set properly and that's the only error I get.
Any ideas? Thanks.
[CODE]......
ls = LicenseSource.createLicenseSource(licEnvVar, new demo(), null);
String[] featureList = ls.getFeatureList();
if (featureList != null) {
for (int i=0; i
System.out.println("" + featureList);
for (int j=0; j
System.out.println("" + details
}
.........[/CODE]
The program is able to get the feature list, but it errors out at the getFeatureDetails(...) line. It gives the following exception message:
Exception in thread "main" java.lang.NoClassDefFoundError: com/certicom/ecc/jcae/Certicom
at com.macrovision.flexlm.lictext.LicenseElement.doAuthenticate(Unknown Source)
at com.macrovision.flexlm.lictext.FeatureLine.authenticate(Unknown Source)
at com.macrovision.flexlm.lictext.LicenseCertificate.authenticateList(Unknown Source)
at com.macrovision.flexlm.lictext.LicenseCertificate.authenticate(Unknown Source)
at com.macrovision.flexlm.lictext.LicenseGroup.validateCertificate(Unknown Source)
at com.macrovision.flexlm.lictext.LicenseGroup.(Unknown Source)
at com.macrovision.flexlm.licsource.LicenseServer.getAuthenticated(Unknown Source)
at com.macrovision.flexlm.licsource.LicenseServer.getAnyFeatureDetails(Unknown Source)
at com.macrovision.flexlm.licsource.LicenseServer.getFeatureDetails(Unknown Source)
at LicenseInfo.(LicenseInfo.java:34)
at LicenseInfo.main(LicenseInfo.java:57)
Again this works fine on Windows but not on Linux. The classpath and everything is set properly and that's the only error I get.
Any ideas? Thanks.
1 Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 06, 2008
10:35 AM
I see that same exception if EccpressoAll.jar isn't on the run-time class path (including being mistyped or mis-capitalized). Other than that, it seems to work fine...
