First time posting on a mailing list, hope I am doing this right. I just need to register JNDI datasource to Tomcat 6 and I followed http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html. I just couldn't make it work if I put the <Resource> tag with my oracle connection info in conf/server.xml b/w the <GlobalNamingResources> tag. BUT it works if I put the <Resource> tag in webapp/META-INF/context.xml b/w the <Context> tag.
What am I missing? I need the datasource be available for all web app, not just for the current web app. Thanks in advance. Felix