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 Knowledge Base
- :
- Java API getServerTimeout is not working as expected
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Java API getServerTimeout is not working as expected
Java API getServerTimeout is not working as expected
Summary
Java client timeout not checking license in on serverSymptoms
To create a client time out on the license server, using the Flexnet publisher Java API, it is required to set the value using the following API call:public int getServerTimeout() {
return 20; // 20 minutes
}
However it has been observed that even though this value has been set, the time out does not occur as expected. It may take up to 2 hours rather than the 20 minutes as specified.
Cause
An issue seems to occur if the attribute ls_allow_borrow is set to 1. The time out value seems to be ignored and the default value of 2 hours is used instead.Resolution
To resolve this issue, set the attribute ls_allow_borrow to 0. The attribute is not required to support borrowing, it is legacy code that does not need to be set any more.
No ratings