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

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 server

Symptoms

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.
Labels (1)
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Nov 13, 2018 11:41 PM
Updated by: