I see now. thanks I refreshed the config file and I am still getting NULL connections to my database.
Does anyone on this list have any interest in being hired as a consultant? At this point I have a strange catalina.policy security issue (which may or may not be a problem) and this database issue. Lucas On Sat, Jul 18, 2009 at 9:24 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > 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 > >