Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13965

Wrong datasource driver when EAP 6.1 server is present

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.0.Beta2
    • 4.1.0.Alpha2
    • server
    • None
    • Hide

      1. Have JBDS with EAP 6.1 server - e.g. install JBDS with the embedded EAP 6.1
      2. Add EAP 6.0.1 server (or you don't have to - the result will be the same)
      3. Add Seam 2.3.1 runtime
      4. Create a Seam Web Project
      5. Check resources/*-ds.xml - you'll see <driver>jboss-eapnull</driver>

      Show
      1. Have JBDS with EAP 6.1 server - e.g. install JBDS with the embedded EAP 6.1 2. Add EAP 6.0.1 server (or you don't have to - the result will be the same) 3. Add Seam 2.3.1 runtime 4. Create a Seam Web Project 5. Check resources/*-ds.xml - you'll see <driver>jboss-eapnull</driver>

      When you try to create a Seam Web Project, but have EAP 6.1 defined in the workspace (along with EAP 6.0.1 that I wanted to use for the seam project), the generated project has this in the ds.xml inside resources:
      <driver>jboss-eapnull</driver>

      Also, there is no driver jar in the resources folder.

      This is probably because both servers created their DefaultDS connection profile in Eclipse with the same name.

        1. scr.png
          47 kB
          Alexey Kazakov

            rob.stryker Rob Stryker (Inactive)
            exd-mmalina Martin Malina
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: