> From: Lucas Vickers [mailto:lucasvick...@gmail.com] > Subject: Re: tomcat 6 database pooling, DataSource returning NULL > connection > > I am doing a static install and restarting my tomcat each time I > make a file change, so I do not think this is the issue.
Actually, that's exactly the procedure that can cause the problem. When the webapp is first loaded, Tomcat copies the webapp's META-INF/context.xml file to conf/Catalina/[host]/[appName].xml. As long as the conf/Catalina/[host]/[appName].xml file exists, it will override the one in META-INF/context.xml. Proper undeployment will remove the copied <Context> element; just copying over a new version of the webapp will not. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org