[jboss-jira] [JBoss JIRA] Commented: (JBAS-8805) Wrong JNDI name for Datasource declared in application.xml
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Sat Jan 15 09:36:49 EST 2011
[ https://issues.jboss.org/browse/JBAS-8805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575773#comment-12575773 ]
jaikiran pai commented on JBAS-8805:
------------------------------------
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
More information about the jboss-jira
mailing list