Tomcat keeps resetting my tomcat-users.xml file

eclipse, tomcat

Solution

I updated the `tomcat-users.xml` file under `Servers` in `Project Explorer`. That seems to be copying it over to the real Tomcat Server.

Problem

I am new to Java/Tomcat development and I am seeing this issue where my `tomcat-users.xml` file keeps getting reset. My user keeps getting removed and I'm not sure why. I am launching my application from Eclipse that is being deployed to this Tomcat instance. ``` C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0 ``` VM Arguments ``` -Dcatalina.base="C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0" -Dcatalina.home="C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0" -Dwtp.deploy="C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\wtpwebapps" -Djava.endorsed.dirs="C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\endorsed" ```

Original source

Related problems