javax.naming.NamingException: WFLYNAM0027: Failed instantiate InitialContextFactory com.sun.jndi.ldap.LdapCtxFactory from classloader jdk.internal.loader.ClassLoaders$AppClassLoader@4b6995df at jdk.internal.reflect.Reflection.throwIllegalAccessException(java.base@9-ea/Reflection.java:405) at jdk.internal.reflect.Reflection.throwIllegalAccessException(java.base@9-ea/Reflection.java:396) at jdk.internal.reflect.Reflection.ensureMemberAccess(java.base@9-ea/Reflection.java:98) at java.lang.Class.newInstance(java.base@9-ea/Class.java:564)

GitHub | tdiesler | 4 months ago
  1. 0

    Failed instantiate InitialContextFactory com.sun.jndi.ldap.LdapCtxFactory

    GitHub | 4 months ago | tdiesler
    javax.naming.NamingException: WFLYNAM0027: Failed instantiate InitialContextFactory com.sun.jndi.ldap.LdapCtxFactory from classloader jdk.internal.loader.ClassLoaders$AppClassLoader@4b6995df at jdk.internal.reflect.Reflection.throwIllegalAccessException(java.base@9-ea/Reflection.java:405) at jdk.internal.reflect.Reflection.throwIllegalAccessException(java.base@9-ea/Reflection.java:396) at jdk.internal.reflect.Reflection.ensureMemberAccess(java.base@9-ea/Reflection.java:98) at java.lang.Class.newInstance(java.base@9-ea/Class.java:564)
  2. 0

    ClassNotFoundException: org.jboss.naming.remote.client.InitialContextFactory

    Stack Overflow | 8 months ago | Kamal Vijay
    javax.naming.NamingException: WFLYNAM0027: Failed instantiate InitialContextFactory org.jboss.naming.remote.client.InitialContextFactory from classloader ModuleClassLoader for Module "deployment.test.ear.test.war:main" from Service Module Loader [Root exception is java.lang.ClassNotFoundException: org.jboss.naming.remote.client.InitialContextFactory from [Module "deployment.test.ear.test.war:main" from Service Module Loader]]
  3. 0

    Problems creating jms bridge in wildfly8

    Stack Overflow | 3 years ago | chad martin
    javax.naming.NamingException: JBAS011843: Failed instantiate InitialContextFactory com.sun.enterprise.naming.SerialInitContextFactory from classloader ModuleClassLoader for Module "org.glassfish:main" from local module loader @6b573f80 (finder: local module finder @2d0a238e (roots: C:\Installs\JBoss\wildfly-8.0.0.Final\modules,C:\Installs\JBoss\wildfly-8.0.0.Final\modules\system\layers\base)) [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory from [Module "org.glassfish:main" from local module loader @6b573f80 (finder: local module finder @2d0a238e (roots: C:\Installs\JBoss\wildfly-8.0.0.Final\modules,C:\Installs\JBoss\wildfly-8.0.0.Final\modules\system\layers\base))]]</p> <pre><code>at org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:116)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring-security-ldap: Failed instantiate InitialContextFactory com.sun.jndi.ldap.LdapCtxFactory

    Stack Overflow | 2 years ago | Creekmind
    javax.naming.NamingException: JBAS011843: Failed instantiate InitialContextFactory com.sun.jndi.ldap.LdapCtxFactory from classloa der ModuleClassLoader for Module "deployment.gas.war:main" from Service Module Loader [Root exception is javax.naming.AuthenticationExceptio n: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1 ]]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.NamingException

      WFLYNAM0027: Failed instantiate InitialContextFactory com.sun.jndi.ldap.LdapCtxFactory from classloader jdk.internal.loader.ClassLoaders$AppClassLoader@4b6995df at jdk.internal.reflect.Reflection.throwIllegalAccessException(java.base@9-ea/Reflection.java:405) at jdk.internal.reflect.Reflection.throwIllegalAccessException(java.base@9-ea/Reflection.java:396) at jdk.internal.reflect.Reflection.ensureMemberAccess(java.base@9-ea/Reflection.java:98) at java.lang.Class.newInstance(java.base@9-ea/Class.java:564)

      at org.jboss.as.naming.InitialContext.getDefaultInitCtx()
    2. JBoss Application Server: Naming Subsystem
      InitialContext.init
      1. org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:114)
      2. org.jboss.as.naming.InitialContext.init(InitialContext.java:99)
      2 frames