Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5960

[Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory from [Module "org.jboss.ironjacamar.impl:main"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.Final
    • 10.0.0.CR5
    • JCA
    • None

      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.

              istudens@redhat.com Ivo Studensky
              istudens@redhat.com Ivo Studensky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: