tareq zaman [
https://community.jboss.org/people/tareq_zaman] created the discussion
"Re: Need help accessing a jdbc datasource inside ejb on jboss 7.1.1"
To view the discussion, visit:
https://community.jboss.org/message/826197#826197
--------------------------------------------------------------
https://community.jboss.org/people/wdfink Wolf-Dieter Fink,
Thanks. This is a ejb 3 app. I have tested with @Resource injection and DS reference
working fine. My problem is I will be using Toplink native API to make database changes
(No JPA). Toplink configuration is loaded from a sessions.xml file with a DS JNDI
reference. Internally Toplink doing a context.lookup by datasource name. It was failing
because of name not found exception. I was testing if JBOSS allows context.lookup by DS
JNDI name.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/826197#826197]
Start a new discussion in Datasource Configuration at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]