My Oracle Support Banner

OID 12c LDIF Import in ODSM Fails with Error: "While trying to look up comp/env/wm/default in /app/webapp/odsm/<number>." Log Errors: LDAP: error code 20 - uniquemember attribute has duplicate value. / ...SaveChangeException: Invalid File (Doc ID 2466738.1)

Last updated on AUGUST 30, 2023

Applies to:

Oracle Internet Directory - Version 12.2.1.3.0 to 12.2.1.4.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

When attempting to load a ldif file using Oracle Directory Services Manager (ODSM) into OID 12c, the following error occurs:

Error. While trying to look up comp/env/wm/default in /app/webapp/odsm/<number>.


With heavy trace debug set in OID, the AdminServer-diagnostic.log shows:

...
[2018-09-21T08:25:46.479-04:00] [ODS_<ADMIN_SERVER>] [ERROR] [] [oracle.ldap.admin.ServerAccessWrappersJNDI] [tid: [ACTIVE].ExecuteThread: '58' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ] [ecid: <ECID>] [APP: odsm] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] Modify Failed.[[
Host='<HOSTNAME>'
Details:
[LDAP: error code 20 - uniquemember attribute has duplicate value.] javax.naming.directory.AttributeInUseException: [LDAP: error code 20 - uniquemember attribute has duplicate value.]; remaining name 'cn=<USERNAME>,cn=Groups,dc=<COMPANY>,dc=com'
...


And/Or:

...
[2019-07-25T07:41:06.737-04:00] [AdminServer] [NOTIFICATION] [] [oracle.ldap.odsm.ui.common.FileUpload] [tid: [ACTIVE].ExecuteThread: '59' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: <ECID>] [APP: odsm] [partition-name: DOMAIN] [tenant-name: GLOBAL] [DSID: <DSID>] saveFileDislogChanges[[
oracle.ldap.admin.common.SaveChangeException: Invalid File
  at oracle.ldap.odsm.ui.common.FileUpload.saveFileDialogChanges(FileUpload.java:197)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at com.sun.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:181)
  at com.sun.el.parser.AstValue.invoke(AstValue.java:289)
  at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)
  at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:2032)
  at oracle.adf.view.rich.component.UIXDialog.broadcast(UIXDialog.java:88)
  at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
  at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
...

 

Changes

 

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
Changes
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.