java.sql.SQLException: Io exception: JNDI Package failurejavax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object] When Configuring JDBC Connection LDAP (Doc ID 1479991.1)

Last updated on MARCH 08, 2017

Applies to:

JDBC - Version 10.1.0.4 and later
Information in this document applies to any platform.

Symptoms

Project is using JDBC to connect to Oracle database directly:

 

but the connection fails with error:

java.sql.SQLException: Io exception: JNDI Package failurejavax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'cn=<host>,dc=company,dc=com'

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms