[jboss-jira] [JBoss JIRA] (WFLY-5960) [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory from [Module "org.jboss.ironjacamar.impl:main"

Ivo Studensky (JIRA) issues at jboss.org
Fri Jan 8 06:00:03 EST 2016


Ivo Studensky created WFLY-5960:
-----------------------------------

             Summary: [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory from [Module "org.jboss.ironjacamar.impl:main"
                 Key: WFLY-5960
                 URL: https://issues.jboss.org/browse/WFLY-5960
             Project: WildFly
          Issue Type: Bug
          Components: JCA
    Affects Versions: 10.0.0.CR5
            Reporter: Ivo Studensky
            Assignee: Ivo Studensky


Description of problem:
Warnings at server startup: 
WARN  [org.jboss.jca.core.connectionmanager.pool.strategy.PoolBySubject] [] (JCA PoolFiller) IJ000610: Unable to fill pool: javax.resource.ResourceException: Could not create connection

Root cause of the exception is displayed in the logs: 
[Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory from [Module "org.jboss.ironjacamar.impl:

Steps to Reproduce:
1. Create Oracle XA datasources with url set to ldap.
2. set "prefill" option to true
3. Start JBoss 

Warnings gets disappear when dependency <module name="sun.jdk"/>
is added in the module 
"org.jboss.ironjacamar.impl"

Expected results:
There should not be any need to add the dependency manually. This dependency should be by default present in JBoss EAP.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list