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"
I updated the tomcat-users.xml
file under Servers
in Project Explorer
. That seems to be copying it over to the real Tomcat Server.
Please try this :
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With