[jboss-user] [Datasource Configuration] - Re: Need help accessing a jdbc datasource inside ejb on jboss 7.1.1

tareq zaman do-not-reply at jboss.com
Wed Jul 3 10:17:24 EDT 2013


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&containerType=14&container=2077]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130703/0de88fa7/attachment.html 


More information about the jboss-user mailing list