javax.naming.NotContextException: Not an instance of DirContext at javax.naming.directory.InitialDirContext. getURLOrDefaultInitDirCtx(InitialDirContext.java:92) at javax.naming.directory.InitialDirContext. search(InitialDirContext.java:210)

Oracle Community | 392 Guest | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    LDAP errors under GF_v3, works fine in v2

    Oracle Community | 8 years ago | 392 Guest
    javax.naming.NotContextException: Not an instance of DirContext at javax.naming.directory.InitialDirContext. getURLOrDefaultInitDirCtx(InitialDirContext.java:92) at javax.naming.directory.InitialDirContext. search(InitialDirContext.java:210)

    Root Cause Analysis

    1. javax.naming.NotContextException

      Not an instance of DirContext at javax.naming.directory.InitialDirContext. getURLOrDefaultInitDirCtx(InitialDirContext.java:92) at javax.naming.directory.InitialDirContext. search(InitialDirContext.java:210)

      at ConnectLdap.search()
    2. Unknown
      ConnectLdap.search
      1. ConnectLdap.search(ConnectLdap.java:173)
      1 frame