JDK-8211745 : Release Note: LDAPS Communication Failure
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: javax.naming
  • Affected Version:
    6u211,7u191,7u201,8u181,8u191,11.0.1,12 6u211,7u191,7u201,8u181,8u191,11.0.1,12
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • OS: generic
  • CPU: generic
  • Submitted: 2018-10-05
  • Updated: 2022-06-27
  • Resolved: 2018-10-08
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 11 JDK 12 JDK 6 JDK 7 JDK 8
11.0.1Resolved 12Resolved 6u211Resolved 7u191Resolved 8u181Resolved
Description
Application code using LDAPS with a socket connect timeout that is <= 0 ( the default value ), may encounter an exception when establishing the connection.

The top most frames from Exception stack traces of applications encountering such issues might resemble the following:

```
    javax.naming.ServiceUnavailableException: <server:port>; socket closed
    at   com.sun.jndi.ldap.Connection.readReply(Unknown Source)  
    at   com.sun.jndi.ldap.LdapClient.ldapBind(Unknown Source)
    ...
```


Comments
The release notes have been updated with the changes.
17-10-2018