Hi basically you just need a <Resource id="X" /> lock in tomee.xml then lookup the resource through java:openejb/Resource/X
if it doesn't work just provide us a sample showing 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/14 Bob_13042013 <[email protected]> > When Context is mentioned in the docs is this the <TOMEE>/conf/context.xml > or > it is one specific to the web app ? > > I have the feeling Postgres does cannot be configured as a shared resource > in TomEE. > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/cannot-JNDI-datasource-with-initialcontext-lookup-tp4662211p4662246.html > Sent from the OpenEJB Dev mailing list archive at Nabble.com. >
