I am using Eclipse MARS for a web application using
Tomcat.
Recently, we have been required to change the dev/test database URL due to an Oracle upgrade.
I made the change in my
(TOMCAT HOME)/conf/server.xml file.
When I try to run the application in Eclipse I get LDAP errors because Eclipse is still looking for the datasource at the old database URL.
I've tried cleaning the project.
A colleague suggested I check in
(MY ECLIPSE WORKSPACE)\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf\server.xml
Sure enough, it contains my old database URL. But even though I change it and clean the project repeatedly, the database URL in that eclipse file keeps changing back to the old database URL.
What is going on here? How do I force Eclipse to release whatever cache continues to store my old database URL?