My Oracle Support Banner

LibOVD: LDAP Users And Group Do Not Show Up in WebCenter Spaces / Content. Log Error: LIBOVD-60008 Error in instantiating <DN>. java.lang.reflect.InvocationTargetException | java.lang.StringIndexOutOfBoundsException: String index out of range: -2 (Doc ID 2116818.1)

Last updated on MARCH 15, 2019

Applies to:

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


Library OVD (libOVD) 11g integrated with WebCenter Portal 11g, e.g.,

After integrating a domain to an external Sun Directory Server (DS) ldap adapter, the users and groups are coming into the WebLogic security without problems.

However, in WebCenter Spaces or Content component, the users or groups do not show up.

The ldap adapter is failing to initialize and throwing log error:

[2015-11-17T23:20:56.826-05:00] [WC_Spaces1] [ERROR] [LIBOVD-60008] [oracle.ods.virtualization] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 0000L4OnpHD9xWs5oj_AiY1MIzik000002,0] [APP: webcenter#] Error in instantiating ou=myou,ou=mydept,o=myorg,c=US.[[
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at oracle.ods.virtualization.engine.backend.BackendHandler.initializeAdapter(
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -2
at java.lang.String.substring(
at oracle.ods.virtualization.api.CredentialStoreConfigManager.getCredential(
at oracle.ods.virtualization.engine.backend.Adapter.decodePassword(
at oracle.ods.virtualization.engine.backend.jndi.BackendJNDI.configureAdapter(
at oracle.ods.virtualization.engine.backend.jndi.BackendJNDI.configureAdapter(
at oracle.ods.virtualization.engine.backend.Adapter.initializeAdapter(
... 75 more

This only occurs in one of identical environments.

Tried dropping and recreating the ldap adapter from scratch using the WebLogic Admin console, but the same problem continues.


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

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