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
- :
- Re: checkin method didn't return if network connection is broken
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
‎Jul 10, 2007
06:04 AM
checkin method didn't return if network connection is broken
Hi Robert,
We are facing problems with the checkin() method in the following scenarios,
Scenario #1:: License client running and License server running but the network connection between them is broken.
------------------
In this case if we try to checkin the checkedout License, then the checkin method didn't return and it waits till the connection is established. Actually the checkin is happening once the connection is established. But the problem is if the connection is not established the checkin method didn't return till that.
Is there any way to override this behaviour. Or is there any way to set the timeout for the checkin.
Scenario2 :: License client running , License checkedout successfully but the License server is down.
------------------------
In this case the checkin method returned in a minute with exception. After this failure, i believe this particular License object will not be removed from the checked out list and doing heart beating to the License server. But in our case , we don't want this particular object hearbeating to the License server and we need to remove the same from the memory(i.e. checkedoutlist).
How we remove that License object from the memory.?
Please guide us with the above scenarios.
Thanks in Advance,
Krish.
We are facing problems with the checkin() method in the following scenarios,
Scenario #1:: License client running and License server running but the network connection between them is broken.
------------------
In this case if we try to checkin the checkedout License, then the checkin method didn't return and it waits till the connection is established. Actually the checkin is happening once the connection is established. But the problem is if the connection is not established the checkin method didn't return till that.
Is there any way to override this behaviour. Or is there any way to set the timeout for the checkin.
Scenario2 :: License client running , License checkedout successfully but the License server is down.
------------------------
In this case the checkin method returned in a minute with exception. After this failure, i believe this particular License object will not be removed from the checked out list and doing heart beating to the License server. But in our case , we don't want this particular object hearbeating to the License server and we need to remove the same from the memory(i.e. checkedoutlist).
How we remove that License object from the memory.?
Please guide us with the above scenarios.
Thanks in Advance,
Krish.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 13, 2007
06:13 AM
Hi ,
Please help me to overcome this problem.
Regards,
Krish.
Please help me to overcome this problem.
Regards,
Krish.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 13, 2007
10:32 AM
To begin with question (1), offhand I'm not aware of a way to set a timeout for the checkin. What are the heartbeat settings for your application? The heartbeat interval and type are intended to help you detect the missing server and allow your application to react...