How to Reset Tomcat manager Password

Procedure to Reset Tomcat manager default password.

Tomcat Default manager Password

Tomcat Applications Default User Name Password
User Name of manager  = admin 
Default password  =  admin

 IT can be manual configured by editing the $CATALINA_HOME/conf/tomcat-users.xml file

Sample File

 version='1.0' encoding='utf-8'?>
   username="both" password="tomcat" roles="tomcat,role1"/>
   username="tomcat" password="tomcat" roles="tomcat"/>
   username="admin" password="admin" roles="admin,manager"/>
   username="role1" password="tomcat" roles="role1"/>


 Role  Username Password
Tomcat Administrator , Manager admin admin
Tomcat tomcat  tomcat


How to Reset

To reset the password, just modify the file and restart the tomcat service

Leave a Reply

Your email address will not be published. Required fields are marked *