Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-4183

seam-gen generates persistence-dev.xml with an error

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.1.2.CR2
    • Component/s: None
    • Labels:
      None

      Description

      After a simple project generation with seam-gen
      I get javax.naming.NameNotFoundException running JBoss.

      persistence-dev.xml contains:
      <jta-data-source>java:/bomboDatasource</jta-data-source>
      with "java./" causing the error.

      Instead persistence-prod.xml is generated without "java:/"

      Bye
      Nic

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  norman.richards Norman Richards
                  Reporter:
                  nico.ben Nicola Ben
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: