My Oracle Support Banner

Troubleshooting OUI / DCM / OC4J JDBC Connection Problems Due To Issues With LDAP Connect Strings (Doc ID 840038.1)

Last updated on AUGUST 03, 2020

Applies to:

Oracle Fusion Middleware - Version 9.0.4.0.0 to 10.1.4.3.0 [Release AS10g to AS10gR3]
Information in this document applies to any platform.
Oracle Application Server 10g Enterprise Edition - Version: 9.0.4.0.0 to 10.1.2.3.0


Purpose

When performing Application Server 9.0.4 or  10.1.2 installations, some of the configuration assistants are java classes connecting to a database.

These configuration assistants will use JDBC thin to connect to the database and some of them will look up the connect string using LDAP. This is because the Metadata Repository stores the connect string information in an attribute called orclnetdescstring in the cn=<database name>,cn=OracleContext OID entry.

Similarly, when the dcm-daemon process starts up in a database based infrastructure environment the connection to the database is performed using JDBC and the connect string is resolved using LDAP.

The OC4J_SECURITY instance also creates JDBC connections where the connect string is resolved using LDAP, so if we have problems initializing an OC4J_SECURITY connection pool we can use this note to troubleshoot the root cause of the problem.

The purpose of this guide is to troubleshoot the different components involved in these JDBC connections.


Troubleshooting Steps

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
Purpose
Troubleshooting Steps
 STEP 1
 STEP 2
 STEP 3
 STEP 4
 For your convenience the LDAPLookupJDBCTest.class can be downloaded here for JDK 1.4. This is the right version for Application Server 9.0.4 / 10.1.2 and 10g OUI (Installer). If you need for a newer version you need to compile it as follows:
 On Unix Environments
 On Windows Environments
 Run the test as follows
 On Unix Environments
 On Windows Environments

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