JBAS011843: Failed instantiate InitialContextFactory com.sun.jndi.ldap.LdapCtxFactory from classloader ModuleClassLoader for Module "org.jboss.ironjacamar.impl:main"
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
Environment
JBoss Enterprise Application Platform (EAP) 6.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.