1) add your resource in tomee/lib is needed to declare it in tomee.xml, no need of resource-env-ref by default 2) show us with a buildable sample it doesn't work please
*Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/4/8 [email protected] <[email protected]> > 1) So from what you are saying I only need to declare this and lookup. No > jar > file needs to be placed in the lib folder? No resource-env-ref in web.xml? > > How will my attributes and values for example "gitLocation" be detected by > the container? > > 2) Why can't context.xml be used in the same way as Tomcat 7 with TomEE? > > > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/TomEE-Tomat-7-Resources-deployed-tp4662050p4662084.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
