I think you will need to configure realm in your server.xml. Plz refer http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html.
-----Original Message----- From: felix l <[EMAIL PROTECTED]> To: users@tomcat.apache.org Sent: Fri, 29 Aug 2008 11:27 pm Subject: Tomcat JNDI 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 ________________________________________________________________________ You are invited to Get a Free AOL Email ID. - http://webmail.aol.in