cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
OculusInfo
Level 3

Missing Library?

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.(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.
Labels (1)
0 Kudos
(4) Replies
RobertDickau
Flexera Alumni

What version of the FLEXnet Licensing for Java toolkit are you using?
0 Kudos
OculusInfo
Level 3

The license was just purchased a little over a week ago. So we are using 11.4. the most recent version.

Thanks
0 Kudos
RobertDickau
Flexera Alumni

Attached is a replacement flexlm.jar (please rename attached flexlm.zip to flexlm.jar) that should contain the missing classes. Apologies for the confusion.
0 Kudos
OculusInfo
Level 3

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
0 Kudos