]
Katarina Hermanova closed WFLY-4244.
------------------------------------
Resolution: Out of Date
Naming alias to datasource in deployment
----------------------------------------
Key: WFLY-4244
URL:
https://issues.jboss.org/browse/WFLY-4244
Project: WildFly
Issue Type: Bug
Components: Naming
Affects Versions: 8.2.0.Final
Reporter: Frank Denninger
Assignee: Katarina Hermanova
Priority: Minor
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.