My Oracle Support Banner

Oracle Internet Directory Throws "javax.naming.NamingException: LDAP response read timed out, timeout used:-1ms" (Doc ID 1995784.1)

Last updated on APRIL 18, 2021

Applies to:

Java SE JDK and JRE - Version 6 to 8
Oracle Internet Directory - Version and later
Information in this document applies to any platform.


After updating to Java SE 6 Update 85 (6u85), 7 Update 72 (7u72), or 8 update 20 (8u20), JNDI Connections may throw the following exception: javax.naming.NamingException: LDAP response read timed out, timeout used:-1ms.

This has been seen on Oracle Internet Directory (OID) with WebLogic:

with Java 8u20:



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.