[jboss-jira] [JBoss JIRA] (AS7-2569) Datasource name bound in Naming Service is not the jndi-name attribute
Bartosz Baranowski (Commented) (JIRA)
jira-events at lists.jboss.org
Tue Nov 29 12:32:41 EST 2011
[ https://issues.jboss.org/browse/AS7-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646410#comment-12646410 ]
Bartosz Baranowski commented on AS7-2569:
-----------------------------------------
Please add some more input/file/batch for console. How do you create this datasource?
> 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
> 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