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.

Reply via email to