Thanks for providing adequate relevant details. I compare parts of your configuration to http://tomcat.apache.org/tomcat-5.0-doc/config/globalresources.html
In the above link it says: <Resource auth="container" "This attribute is required if the web application will use a <resource-ref> element in the web application deployment descriptor, but is optional if the application uses a <resource-env-ref> instead." Since you have defined <resource-ref> in your web.xml the auth attribute is required, but you haven't specified it in this: <Resource name="jdbc/TestDB" type="javax.sql.DataSource"/> tag. Also the ResourceParams tag looks incorrect, it should be: <ResourceParams name="jdbc/TestDB"> but you have it as: <ResourceParams name="UserDatabase"> The above are some of the mis configurations I've identified so far, there could be more. -Rashmi --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]