javax.naming.NoInitialContextException: Cannot instantiate class: com.netscape.jndi.ldap.LdapContextFactory [Root exception is java.lang.ClassNotFoundException: com/netscape/jndi/ldap/LdapContextFactory ]]] at weblogic.security.ldaprealm.LDAPDelegate.getContext (LDAPDelegate.java:212) at weblogic.security.ldaprealm.LDAPDelegate.lookup (LDAPDelegate.java:232) at weblogic.security.ldaprealm.LDAPDelegate.search (LDAPDelegate.java:345)

Oracle Community | 3004 | 2 decades ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Help! LDAPRealm and Site Server

    Oracle Community | 2 decades ago | 3004
    javax.naming.NoInitialContextException: Cannot instantiate class: com.netscape.jndi.ldap.LdapContextFactory [Root exception is java.lang.ClassNotFoundException: com/netscape/jndi/ldap/LdapContextFactory ]]] at weblogic.security.ldaprealm.LDAPDelegate.getContext (LDAPDelegate.java:212) at weblogic.security.ldaprealm.LDAPDelegate.lookup (LDAPDelegate.java:232) at weblogic.security.ldaprealm.LDAPDelegate.search (LDAPDelegate.java:345)

    Root Cause Analysis

    1. javax.naming.NoInitialContextException

      Cannot instantiate class: com.netscape.jndi.ldap.LdapContextFactory [Root exception is java.lang.ClassNotFoundException: com/netscape/jndi/ldap/LdapContextFactory ]]] at weblogic.security.ldaprealm.LDAPDelegate.getContext (LDAPDelegate.java:212) at weblogic.security.ldaprealm.LDAPDelegate.lookup (LDAPDelegate.java:232) at weblogic.security.ldaprealm.LDAPDelegate.search (LDAPDelegate.java:345)

      at weblogic.security.ldaprealm.LDAPDelegate.search()
    2. weblogic.security.ldaprealm
      LDAPRealm.getGroup
      1. weblogic.security.ldaprealm.LDAPDelegate.search(LDAPDelegate.java:354)
      2. weblogic.security.ldaprealm.LDAPDelegate.getGroupMembers(LDAPDelegate.java:553)
      3. weblogic.security.ldaprealm.LDAPDelegate.getGroup(LDAPDelegate.java:539)
      4. weblogic.security.ldaprealm.LDAPDelegate.getGroup(LDAPDelegate.java:527)
      5. weblogic.security.ldaprealm.LDAPRealm.getGroup(LDAPRealm.java:75)
      5 frames
    3. weblogic.security.acl
      CachingRealm.<init>
      1. weblogic.security.acl.CachingRealm.getGroup(CachingRealm.java:1420)
      2. weblogic.security.acl.CachingRealm.getPrincipal(CachingRealm.java:1020)
      3. weblogic.security.acl.CachingRealm.addPermission(CachingRealm.java:813)
      4. weblogic.security.acl.CachingRealm.setupAcls(CachingRealm.java:802)
      5. weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:706)
      6. weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:564)
      6 frames
    4. weblogic.t3.srvr
      T3Srvr.main
      1. weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1750)
      2. weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1086)
      3. weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
      3 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. weblogic
      Server.main
      1. weblogic.Server.startServerDynamically(Server.java:99)
      2. weblogic.Server.main(Server.java:65)
      3. weblogic.Server.main(Server.java:55)
      3 frames