t0mcatus3r
Technical User
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>
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>