JBAS011843: Failed instantiate InitialContextFactory com.sun.jndi.ldap.LdapCtxFactory from classloader ModuleClassLoader for Module "org.jboss.ironjacamar.impl:main"

Solution Unverified - Updated

Environment

JBoss Enterprise Application Platform (EAP) 6.4

Issue

  • We are seeing this warning when starting JBoss EAP 6 :
WARN  [org.jboss.jca.core.connectionmanager.pool.strategy.PoolBySubject] [] (JCA PoolFiller) IJ000610: Unable to fill pool: javax.resource.ResourceException: Could not create connection
...
Caused by: oracle.net.ns.NetException: JNDI Package failure javax.naming.NamingException: JBAS011843: Failed instantiate InitialContextFactory com.sun.jndi.ldap.LdapCtxFactory from classloader ModuleClassLoader for Module "org.jboss.iron
jacamar.impl:main" from local module loader @2a1d3a7a (finder: local module finder @7a145d95 (roots: /home/jboss/jboss-eap-6.4/modules,/home/jboss/jboss-eap-6.4/modules/system/layers/base)) [Root exception is java.l
ang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory from [Module "org.jboss.ironjacamar.impl:main" from local module loader @1b3d1a2a (finder: local module finder @7a145d95 (roots: /home/jboss/jboss-eap-6.4/modules,/home/jboss-eap-6.4/modules/system/layers/base))]]
        at oracle.net.jndi.JndiAttrs.<init>(JndiAttrs.java:161)
        at oracle.net.resolver.AddrResolution.processLdapFailoverLoadblance(AddrResolution.java:324)
        at oracle.net.resolver.AddrResolution.<init>(AddrResolution.java:211)
        at oracle.net.ns.NSProtocol.connect(NSProtocol.java:219)
        at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1102)
        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:320)
        ... 18 more

Resolution

Apply JBoss EAP 6.4 Cumulative Patch (CP) 7

Root Cause

This content is not included.bz-1290376: [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory from [Module "org.jboss.ironjacamar.impl:main"]]

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.