[jboss-jira] [JBoss JIRA] (AS7-2569) Datasource name bound in Naming Service is not the jndi-name attribute

Brian Stansberry (Updated) (JIRA) jira-events at lists.jboss.org
Mon Jan 2 14:07:10 EST 2012


     [ https://issues.jboss.org/browse/AS7-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated AS7-2569:
----------------------------------

    Component/s: JCA

    
> Datasource name bound in Naming Service is not the jndi-name attribute 
> -----------------------------------------------------------------------
>
>                 Key: AS7-2569
>                 URL: https://issues.jboss.org/browse/AS7-2569
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JCA
>    Affects Versions: 7.1.0.Alpha1
>            Reporter: Rich Raposa
>            Assignee: Bartosz Baranowski
>
> Here is my datasource definition:
> "data-source" => {
>     "JBTravel" => {
>         "jndi-name"=>"java:jboss/JBTravelDatasource"
>         ...other settings
>     }
> }
> When I do a JNDI lookup for "JBTravel", it's found successfully. If I do a JNDI lookup for "java:jboss/JBTravelDatasource", I get a NameNotFoundException. I think the wrong name is getting bound in the naming service.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list