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 08, 2017

Applies to:

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

Symptoms

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

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#11.1.1.4.0] Error in instantiating ou=myou,ou=mydept,o=myorg,c=US.[[
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.ods.virtualization.engine.backend.BackendHandler.initializeAdapter(BackendHandler.java:286)
..............
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -2
at java.lang.String.substring(String.java:1937)
at oracle.ods.virtualization.api.CredentialStoreConfigManager.getCredential(CredentialStoreConfigManager.java:83)
at oracle.ods.virtualization.engine.backend.Adapter.decodePassword(Adapter.java:260)
at oracle.ods.virtualization.engine.backend.jndi.BackendJNDI.configureAdapter(BackendJNDI.java:346)
at oracle.ods.virtualization.engine.backend.jndi.BackendJNDI.configureAdapter(BackendJNDI.java:173)
at oracle.ods.virtualization.engine.backend.Adapter.initializeAdapter(Adapter.java:140)
... 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.



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