My Oracle Support Banner

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 FEBRUARY 20, 2019

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 = <HOST1>)(PORT =<PORT1>))
  (CONNECT_DATA =
  (SERVICE_NAME = <SERVICENAME1>)
  )
  )
  (DESCRIPTION =
  (LOAD_BALANCE=OFF)
  (ADDRESS = (PROTOCOL = TCP)(HOST = <HOST2>)(PORT = <PORT2>))
  (CONNECT_DATA =
  (SERVICE_NAME = <SERVICENAME2>)
  )
  )

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

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
Cause
Solution
References


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