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

Naming alias to datasource in deployment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 8.2.0.Final
    • Naming
    • None

      Using a name alias to a datasource that is defined in the deployment (with a *-ds.xml in the .war) causes a npe when jpa tries to resolve that datasource with the alias.

      <lookup name="java:/de/datasource/sub" lookup="java:/de/datasource/main"/>

      When both the datasource and name-alias are defined in the standalone.xml it works as expected.

            kathermanova Katarína Hermanová
            k5___jira Frank Denninger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: