My Oracle Support Banner

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 JUNE 05, 2023

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'

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


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