javax.naming.directory.AttributeInUseException: [LDAP: error code 20 - Attribute Or Value Exists]; remaining name 'cn=sdoc,cn=Users,dc=xxx,dc=xxx'

Oracle Community | 98cb3e36-0f91-4364-a55d-0b7e59417ed9 | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Inconsistent Behavior : error code 20 - attribute or value exists

    Oracle Community | 4 years ago | 98cb3e36-0f91-4364-a55d-0b7e59417ed9
    javax.naming.directory.AttributeInUseException: [LDAP: error code 20 - Attribute Or Value Exists]; remaining name 'cn=sdoc,cn=Users,dc=xxx,dc=xxx'
  2. 0

    OID-Create New Entry Error-LDAP: error code 20 - Attribute Or Value Exists

    Oracle Community | 7 years ago | 685935
    javax.naming.directory.AttributeInUseException: [LDAP: error code 20 - Attribute Or Value Exists]; remaining name 'cn=112233445\-9,ou=people,dc=cal,dc=tdc,dc=ad,dc=teale,dc=ca,dc=gov'

    Root Cause Analysis

    1. javax.naming.directory.AttributeInUseException

      [LDAP: error code 20 - Attribute Or Value Exists]; remaining name 'cn=sdoc,cn=Users,dc=xxx,dc=xxx'

      at com.sun.jndi.ldap.LdapCtx.mapErrorCode()
    2. Java RT
      InitialDirContext.createSubcontext
      1. com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3051)
      2. com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3013)
      3. com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2820)
      4. com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:791)
      5. com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)
      6. com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)
      7. com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:236)
      8. javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:178)
      8 frames