Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-2617

[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
    • 7.0.0.ER4
    • 7.0.0.ER3
    • 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:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: