• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Eclipse cache won't release my old database URL

 
Ranch Hand
Posts: 1408
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic