the same kind of binding exists for EJB and would have made it working in the MDB, that said since you configure a name to build the jndi lookup name, configuring the full name is as simple IMHO.
Romain Manni-Bucau @rmannibucau | Blog | Github | LinkedIn | Tomitriber 2015-11-18 8:07 GMT-08:00 mean_bcp <[email protected]>: > Thank you for the quick response. The lookup by openejb:Resource/${dsName} > worked in both spots! (Although java:openejb/Resource/${dsName} threw a > NameNotFoundException) > > Maybe bound to comp/env because I had this tag in my web.xml (now removed): > > <resource-ref> > <res-ref-name>dolleeDb</res-ref-name> > <res-type>javax.sql.DataSource</res-type> > <res-auth>Container</res-auth> > <res-sharing-scope>Shareable</res-sharing-scope> > </resource-ref> > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Resource-lookup-from-EJB-tp4676840p4676843.html > Sent from the TomEE Users mailing list archive at Nabble.com.
