My Oracle Support Banner

OVD 11g Database Adapter Creation Using OCI Driver Fails with Invalid Database Connection Error (Doc ID 1927363.1)

Last updated on JULY 16, 2018

Applies to:

Oracle Virtual Directory - Version and later
Information in this document applies to any platform.


Trying to create a DB Adapter from ODSM using OCI driver Fails with "Invalid Database Connection" Error

Following error is seen in the wls_ods1 diagnostic.log file


[2014-06-09T13:22:29.061+02:00] [wls_ods1] [NOTIFICATION] [] [oracle.ldap.odsm.ui.common.Wizard] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 004yqLhC6jM1baXh1tnJ8j0003q6001DF4,0:1] [APP: odsm#] [URI: /odsm/faces/odsm.jspx] doNext[[
oracle.ldap.admin.common.SaveChangeException: Invalid Database Connection
       at oracle.ldap.odsm.model.ovd.config.adapters.NewAPDataBaseAdapterCfg.saveChanges(
       at oracle.ldap.odsm.ui.common.Wizard.doNext(
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(


Example DB Adapter Settings:

URL Type: Use Custom URL
Database Type: Oracle - Oracle OCI Drivers
JDBC Driver Class : oracle.jdbc.driver.OracleDriver
Database URL : jdbc:oracle:oci:@(description=(address=(host=localhost)(protocol=tcp)(port=1521))(
Host: localhost
Port: 1521
Database Name:





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

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.