user818700
user818700

Reputation:

tomcat-users.xml getting reset after stopping Tomcat 8

When I add a user to

[tomcat installation]/conf/tomcat-users.xml

by adding the following:

<role rolename="manager-gui"/>
<user username="tomcat" password="tomcat" roles="manager-gui"/>

It works well enough, but after I stop/restart my server that little edit of mine just completely disappears and I have to redo it. Anybody know why this would happen?

Upvotes: 0

Views: 383

Answers (1)

Rafik BELDI
Rafik BELDI

Reputation: 4158

Eclipse takes over the configuration of Tomcat, so try to edit tomcat-users from eclipse. under the Servers folder in the package explorer

Upvotes: 2

Related Questions