PDA

View Full Version : Missing Library?



OculusInfo
02-23-2007, 11:27 AM
I am attempting a primary integration into our product
I have completed the Tutorials, etc, so the toolkit along with all the vendor keys, etc. should be set up properly.

The following is the text from my counted.lic file before I run it through lmcrypt, which then gives me a proper SIGN. (The real vendor name has been replaced with a place holder)

SERVER this_host ANY
VENDOR dummyDaemon
USE_SERVER
#a counted license
FEATURE f1 dummyDaemon 1.0 permanent 4 SIGN=0

I have included flexlm.jar and EccpressoAll.jar into my project. The application builds, but on the line were it attempts to do the checkout I receive the following error

Exception in thread "main" java.lang.NoClassDefFoundError: com/macrovision/flexlm/fulfillstatus/Fulfillment
at com.macrovision.flexlm.comm.CommRev.getCommRevInstance(Unknown Source)
at com.macrovision.flexlm.comm.MessageHeader.<init>(Unknown Source)
at com.macrovision.flexlm.comm.Message.receive(Unknown Source)
at com.macrovision.flexlm.comm.Message.receive(Unknown Source)
at com.macrovision.flexlm.licsource.LicenseServer.connect(Unknown Source)
at com.macrovision.flexlm.licsource.LicenseServer.sendMessage(Unknown Source)
at com.macrovision.flexlm.licsource.LicenseServer.tryCheckout(Unknown Source)
at com.macrovision.flexlm.licsource.LicenseServer.checkout(Unknown Source)
at com.macrovision.flexlm.License.reconnect(Unknown Source)
at com.macrovision.flexlm.License.checkout(Unknown Source)
at Application.main(Application.java:107)

The major problem I see with this is that com/macrovision/flexlm/fulfillstatus/Fulfillment does not exist in the flexlm.jar, or any other jar for that matter.

In the examples folder there is an example called FulfillStatusExample.java.

This file imports com.macrovision.flexlm.fulfillstatus.
This discrepancy is causing confusion.

If you know the cause for this problem your help would be appreciated.
Please advise at the best course of action to remedy this issue would be.

RobertDickau
02-26-2007, 09:36 AM
What version of the FLEXnet Licensing for Java toolkit are you using?

OculusInfo
02-26-2007, 10:06 AM
The license was just purchased a little over a week ago. So we are using 11.4. the most recent version.

Thanks

RobertDickau
02-26-2007, 02:02 PM
Attached is a replacement flexlm.jar (please rename attached flexlm.zip to flexlm.jar) that should contain the missing classes. Apologies for the confusion.

OculusInfo
02-26-2007, 03:06 PM
Thank you Robert,
Oddly enough I just got off the phone with tech support and after some investigation they came across a known issue about this. It appears the installation was shipped with a lacking library.

I hope someone fixes this, makes a note on the website or in the FAQ somewhere.

Thanks for your help,
It is very appreciated.

Trevor