Setting OVD 11g Database URL For Database Adapter Fails With Log Error: [Ljava.lang.String;

(Doc ID 1486455.1)

Last updated on AUGUST 18, 2016

Applies to:

Oracle Virtual Directory - Version to [Release 11g]
Information in this document applies to any platform.


Oracle Virtual Directory (OVD) 11g

When trying to set a Database URL for the OVD database (DB) adapter in Oracle Directory Services Manager (ODSM), such as the below example:

jdbc:oracle:thin:@(DESCRIPTION =
  (ADDRESS = (PROTOCOL = TCP)(HOST = = myport1))
  (SERVICE_NAME = myhost1)
  (ADDRESS = (PROTOCOL = TCP)(HOST = = myport2))
  (SERVICE_NAME = myhost2)

It fails to save and the following error is seen in the OVD diagnostic.log:

[2012-08-22T15:00:32.083-04:00] [wls_ods1] [NOTIFICATION] [] [oracle.ldap.odsm.model.ovd.config.adapters.MyDataBaseAdapter] [tid: ProvProfileMBean] [userId: <anonymous>] [ecid: 343c9018799cce7f:-75c9cc3e:1394ae9aaf1:-8000-0000000000006d75,0] [APP: odsm#] saveChanges[[
java.lang.ClassCastException: [Ljava.lang.String;



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