[
https://issues.jboss.org/browse/JBAS-8805?page=com.atlassian.jira.plugin....
]
jaikiran pai edited comment on JBAS-8805 at 1/15/11 9:37 AM:
-------------------------------------------------------------
Juergen,
I commented in the forum thread here
http://community.jboss.org/message/580099#580099.
I'll mark this as a not a bug, since the spec leaves it to the application servers to
either allow or disallow using the data-source reference, defined via application.xml,
within a persistence.xml.
was (Author: jaikiran):
Juergen,
I commented in the forum thread here
http://community.jboss.org/message/580099#580099.
I'll mark this as a not a bug, since the spec doesn't allow using the data-source
reference, defined via application.xml, within a persistence.xml.
Wrong JNDI name for Datasource declared in application.xml
----------------------------------------------------------
Key: JBAS-8805
URL:
https://issues.jboss.org/browse/JBAS-8805
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 6.0.0.Final
Reporter: Juergen Zimmermann
I declare a datasource in the EAR's META-INF/application.xml:
<data-source>
<name>java:app/myDS</name>
In the JMX console I only can see java:internal/myEAR/myEAR/myDS.
Also in the EJB's META-INF/persistence.xml I cannot use java:app/myDS, but only
java:internal/myEAR/myEAR/myDS.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira