-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
8.0.0.CR1
-
None
-
None
-
Workaround Exists
-
I have mapped the datasource java:jboss/datasources/ExampleDS to jdbc/MyDS in jboss-web.xml for my application.
In a stateless bean i can do a jndi lookup and find the datasource in both java:comp/env/jdbc/MyDS and java:module/env/jdbc/MyDS as expected. But if I try to use it in my persistence.xml I get an error:
13:18:28,129 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) JBAS014613: Operation ("full-replace-deployment") failed - address: ([]) - failure description:
A minimal example application that demonstrates the problem is available at: https://github.com/umartin/wfds/