cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
avdhesh
Flexera beginner

Getting Error during running "Capability Request.java" Example.

Hi,

I successfully run my server  on my localhost using "8090" port .when i try to run the "CapabilityRequest.java " i got some error .

I attached the error snapshot and also   "CapabilityRequest.java"  file that i am using.

 

0 Kudos
33 Replies
Moderator jberthold Moderator
Moderator

Re: Getting Error during running "Capability Request.java" Example.

Hi @avdhesh ,

What is the server endpoint you are using with your example?  For a local license server running on port 8090 you should be running the CapabilityRequest example with the options:

-server  http://locahost:8090/fne/bin/capability

Best regards,

Jim

 

0 Kudos
avdhesh
Flexera beginner

Re: Getting Error during running "Capability Request.java" Example.

Thank you for Reply.
i change the argument from "-server http://locahost:8090/request" to -server "http://locahost:8090/fne/bin/capability" but i got the same error.
0 Kudos
Moderator jberthold Moderator
Moderator

Re: Getting Error during running "Capability Request.java" Example.

Hello @avdhesh ,

I tried out your CapabilityRequest.java,  making only one change to the file as my FNE local server is on the default port (7070):

args = new String[]{"-server", "http://localhost:7070/fne/bin/capability"};

I got the expected results as shown below (no features are requested from the server as options.addDesiredFeature is commented out).

Number of features loaded from trusted storage: 0
request url - -http://localhost:7070/fne/bin/capability
Successfully processed response.
Response data
Vendor dictionary:
none
Response status:
none
Machine Type:
PHYSICAL
Confirmation request needed: no
Number of features loaded from capability response: 0
Unable to acquire survey: Requested feature was not found.

I'd recommend creating a support ticket so that someone can work with you directly to help resolve your problem.

Best regards,

0 Kudos
avdhesh
Flexera beginner

Re: Getting Error during running "Capability Request.java" Example.

Currently we are in evaluation period so how can i create a support ticket.
0 Kudos
Moderator jberthold Moderator
Moderator

Re: Getting Error during running "Capability Request.java" Example.

Please contact your Flexera Sales Representative to ensure you get the proper support for your evaluation.

Thank you,

0 Kudos
Moderator jberthold Moderator
Moderator

Re: Getting Error during running "Capability Request.java" Example.

In the meantime can you provide the output from flexnetlsadmin -status  and flexnetlsadmin -features?  The flexnetlsadmin utility can be found in the /enterprise directory of the license server kit.

0 Kudos
avdhesh
Flexera beginner

Re: Getting Error during running "Capability Request.java" Example.

we can't locate the enterprise directory in the license server kit provided to us. Also, can't location flexnetlsdmin file in the provided toolkit.
We are referring to "FNE_JavaXTUserGuide_2019R1.pdf" file for instructions. hope this is right file. please confirm and suggest how to proceed further as we are running out of our evaluation time.
0 Kudos
Moderator jberthold Moderator
Moderator

Re: Getting Error during running "Capability Request.java" Example.

Hi @avdhesh ,

In your first post you mentioned you have your server running on your localhost on port 8090.   Are you referring to a FlexNet Embedded local license server or are you using the the test back-office server capserverutil?  With the limited information provided I originally assumed it was a FlexNet Embedded local license server but am now thinking you may be using the test back-office server.    Also it would be helpful if you could provide some identifying information from your evaluation such as a Customer Number or Order Number.

Thanks,

0 Kudos
avdhesh
Flexera beginner

Re: Getting Error during running "Capability Request.java" Example.

Thanks for your response .
i tried as suggested but still there was an error but different message as below:

Number of features loaded from trusted storage: 0
request url : http://localhost:7070/fne/bin/capability
Error occure --com.flexnet.lm.FlxException: Connection Exception.
com.flexnet.lm.FlxException: Connection Exception.
at com.flexnet.lm.net.Comm.sendBinaryMessage(SourceFile:208)
at flxexamples.CapabilityRequest.talkToServer(CapabilityRequest.java:239)
at flxexamples.CapabilityRequest.main(CapabilityRequest.java:137)
BUILD SUCCESSFUL (total time: 7 seconds)

0 Kudos