JDK-8000487 : Java JNDI connection library on ldap conn is not honoring configured timeout
  • Type: Bug
  • Component: core-libs
  • Sub-Component: javax.naming
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2012-10-05
  • Updated: 2013-08-16
  • Resolved: 2012-10-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 JDK 8
6u37Fixed 7u40Fixed 8 b63Fixed
Description
SHORT SUMMARY: Ldap connect timeout not working correctly.
INDICATORS: Ldap simple auth connection using the read timeout value instead 
of the connect timeout.
COUNTER INDICATORS:
TRIGGERS: Use simple auth to connect to ldap server
KNOWN WORKAROUND:
PRESENT SINCE: fcs
HOW TO VERIFY:
NOTES FOR SE:
REGRESSION: n


Comments
related test works well
16-08-2013

Fix sent for review
08-10-2012

When attempting to connect while using simple auth, we actually perform a read. This means that the connection is subject to the read timeout. The solution is to alter the readtimeout to the same value as the connect timeout for the duration of the auth.
05-10-2012