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 | 9 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

    LDAP errors under GF_v3, works fine in v2

    Oracle Community | 9 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