[jboss-jira] [JBoss JIRA] Issue Comment Edited: (JBAS-8816) data-source element in application.xml descriptor is not processed correctly

jaikiran pai (JIRA) jira-events at lists.jboss.org
Tue May 10 01:45:19 EDT 2011


    [ https://issues.jboss.org/browse/JBAS-8816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600872#comment-12600872 ] 

jaikiran pai edited comment on JBAS-8816 at 5/10/11 1:44 AM:
-------------------------------------------------------------

Marking for 6.1.0, so that it can tracked accordingly.

      was (Author: jaikiran):
    http://community.jboss.org/en/jbossas?view=discussions
  
> data-source element in application.xml descriptor is not processed correctly
> ----------------------------------------------------------------------------
>
>                 Key: JBAS-8816
>                 URL: https://issues.jboss.org/browse/JBAS-8816
>             Project: Legacy JBoss Application Server 6 
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Deployers, Other
>    Affects Versions: 6.0.0.Final
>         Environment: Mac OS X 10.6
>            Reporter: henk de boer
>            Assignee: Weston M. Price
>             Fix For: 6.1.0
>
>
> 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.

--
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