Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tomcat-users.xml getting deleted

Status
Not open for further replies.

t0mcatus3r

Technical User
Oct 8, 2010
2
0
0
US
Hello,
I am using tomcat 6.0.18. On my tomcat server, upon nightly scheduled restart of the tomcat service, tomcat-users.xml gets deleted automatically which prevents failure of service restart. I then have to manually put the contents back in and start the tomcat.

This is a random behavior and an intermittent issue. I learnt that 6.0.21 release has the fix in it for this.

Could you be kind enough to shed some light as why such behavior is noticed and 6.0.21 will fix my issues ?

Thanks and appreciate your help.
- Tanmay

Following is my tomcat-users.xml:
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager"/>
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="trash" password="trash" roles="tomcat,manager"/>
<user username="role1" password="tomcat" roles="role1"/>
</tomcat-users>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top