javax.naming.CommunicationException: [LDAP: error code 2 - Protocol Error]; remaining name 'ou=aaaaaa,ou=talk,ou=2004,ou=Literatur'

Oracle Community | 807573 | 1 decade 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

    proxy authorization with JNDI

    Oracle Community | 1 decade ago | 843793
    javax.naming.CommunicationException: [LDAP: error code 2 - Protocol Error]; remaining name 'ou=aaaaaa,ou=talk,ou=2004,ou=Literatur'
  2. 0

    proxy authorization with JNDI

    Oracle Community | 1 decade ago | 807573
    javax.naming.CommunicationException: [LDAP: error code 2 - Protocol Error]; remaining name 'ou=aaaaaa,ou=talk,ou=2004,ou=Literatur'

    Root Cause Analysis

    1. javax.naming.CommunicationException

      [LDAP: error code 2 - Protocol Error]; remaining name 'ou=aaaaaa,ou=talk,ou=2004,ou=Literatur'

      at com.sun.jndi.ldap.LdapCtx.mapErrorCode()
    2. Java RT
      InitialDirContext.bind
      1. com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
      2. com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
      3. com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
      4. com.sun.jndi.ldap.LdapCtx.c_bind(Unknown Source)
      5. com.sun.jndi.toolkit.ctx.ComponentDirContext.p_bind(Unknown Source)
      6. com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.bind(Unknown Source)
      7. com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.bind(Unknown Source)
      8. javax.naming.directory.InitialDirContext.bind(Unknown Source)
      8 frames
    3. Unknown
      TestProxyAuthorization.main
      1. TestProxyAuthorization.main(TestProxyAuthorization.java:42)
      1 frame