javax.naming.CommunicationException: [LDAP: error code 2 - unsupported extended operation]; remaining name ''

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

Solutions on the web

via Oracle Community by 807573, 1 year ago
[LDAP: error code 2 - unsupported extended operation]; remaining name ''
via directory-users by Laszlo Kiss, 1 year ago
[LDAP: error code 2 - Unrecognized extended operation EXTENSION_OID: 1.3.6.1.4.1.1466.20037]; remaining name ''
via forumeasy.com by Unknown author, 2 years ago
[LDAP: error code 2 - Protocol Error]; remaining name 'uid=proxyUser,ou=People,o=mydomain'
via Oracle Community by 807573, 1 year ago
[LDAP: error code 2 - Protocol Error]; remaining name 'ou=aaaaaa,ou=talk,ou=2004,ou=Literatur'
via Oracle Community by 843793, 1 year ago
[LDAP: error code 2 - Protocol Error]; remaining name 'ou=aaaaaa,ou=talk,ou=2004,ou=Literatur'
javax.naming.CommunicationException: [LDAP: error code 2 - unsupported extended operation]; remaining name ''
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.extendedOperation(Unknown Source)
at undefined.LDAPtlsDemo.main(LDAPtlsDemo.java:28)

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.

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