My problem with tomcat is that I change things in tomcat-users
since by default it has neither a role nor a user, because I put it on. Until then everything works well and there is no problem, but when for some reason I restart the server or I turn it off and I want to re-enter the manager of tomcat, it asks for the password and the user, but it is not stored anymore but more well deleted and I do not know if tomcat recreates those files.
How do I make it so that I no longer delete that part of the file?
These are the lines that I add.
<role rolename="manager-gui"/>
<user username="admin" password="1234" roles="manager-gui"/>
I am currently using the tomcat 8