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

Rich Raposa (Created) (JIRA) jira-events at lists.jboss.org
Wed Nov 9 22:26:45 EST 2011


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
    Affects Versions: 7.1.0.Alpha1
            Reporter: Rich Raposa


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