[
https://issues.jboss.org/browse/AS7-2569?page=com.atlassian.jira.plugin.s...
]
Bartosz Baranowski commented on AS7-2569:
-----------------------------------------
Where from you perform lookup, how(code snippet).
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