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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 98cb3e36-0f91-4364-a55d-0b7e59417ed9, 1 year ago
[LDAP: error code 20 - Attribute Or Value Exists]; remaining name 'cn=sdoc,cn=Users,dc=xxx,dc=xxx'
via Oracle Community by 843793, 1 year ago
[LDAP: error code 20 - 0000207E: AtrErr: DSID-0315096E, #1: 0: 0000207E: DSID-0315096E, problem 1006 (ATT_OR_VALUE_EXISTS), data 0, Att 3 (cn) ]; remaining name 'CN=javaCodeBase'
via Oracle Community by 807573, 1 year ago
[LDAP: error code 20 - Attribute Or Value Exists]; remaining name 'etServerId=sol'
via Oracle Community by 644024, 1 year ago
[LDAP: error code 20 - title attribute has duplicate value.]; remaining name 'CN=first last,OU=UserOU,ou=xyz,dc=xyz,dc=xyz'
via Oracle Community by 685935, 1 year ago
[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'
via Oracle Community by Mounika, 1 year ago
[LDAP: error code 20 - uniquemember attribute has duplicate value.]; remaining name 'cn=JRNL433_AUTHOR,cn=Groups,dc=example,dc=com'
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(LdapCtx.java:3051)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3013)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2820)
at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:791)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:236)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.