-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
6.0.0.Final
-
None
Defining a datasource in the application.xml descriptor of an EAR using the data-source element, does not cause this datasource to become available in the defined namespace.
For instance the following is supposed to make a datasource available in JNDI at java:app/MyDataSource
<data-source>
<description>Sample DataSource definition</description>
<name>java:app/MyDataSource</name>
<class-name>org.postgresql.ds.PGSimpleDataSource</class-name>
<server-name>myserver.com</server-name>
<port-number>5432</port-number>
<database-name>mydb</database-name>
<user>myuser</user>
<password>mypass</password>
</data-source>
This however does not happen.