Setting OVD 11g 11.1.1.5 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 11.1.1.5.0 to 11.1.1.5.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

Oracle Virtual Directory (OVD) 11g 11.1.1.5.0.

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 =
  (LOAD_BALANCE=OFF)
  (ADDRESS = (PROTOCOL = TCP)(HOST = my.host1.com)(PORT = myport1))
  (CONNECT_DATA =
  (SERVICE_NAME = myhost1)
  )
  )
  (DESCRIPTION =
  (LOAD_BALANCE=OFF)
  (ADDRESS = (PROTOCOL = TCP)(HOST = my.host2.com)(PORT = myport2))
  (CONNECT_DATA =
  (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#11.1.1.2.0] saveChanges[[
java.lang.ClassCastException: [Ljava.lang.String;

 
 

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