[jboss-jira] [JBoss JIRA] Created: (JBAS-8805) Wrong JNDI name for Datasource declared in application.xml

Juergen Zimmermann (JIRA) jira-events at lists.jboss.org
Sat Jan 15 01:56:49 EST 2011


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