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

JDBC driver not deployed from exploded EAR, but works with packaged .ear

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 8.0.0.Beta1
    • EE, JCA
    • Hide

      1. Create an empty maven ear
      2. Add postgresql as dependency
      3. Deploy in eclipse

      Show
      1. Create an empty maven ear 2. Add postgresql as dependency 3. Deploy in eclipse

      The jdbc driver in an exploded EAR isn't picked up by wildfly, it causes problems when deploying from eclipse.

      It is picked up when deployed as a zipped .ear.

      Example jboss-as.xml in the ear with xa driver:
      <driver>testear-0.0.1-SNAPSHOT.ear_org.postgresql.Driver_9_2</driver>

      You should see a message when the ear is deployed showing that the JDBC is picked up byt he server. This appears only when the .ear is zipped.

            Unassigned Unassigned
            paul_alesius Paul Alesius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: