What is default administrator password for Tomcat?

Last updated on March 21st, 2017 at 06:35 pm

Previous
When you want to deploy your application to tomcat server , you may do it using admin UI but how can you access it? Do you know default admin password?
Actually tomcat does not provide any default password. You need to add users to $TomcatHome/conf/tomcat-users.xml and provide role as manager-gui(For tomcat 7 and 8) and manager (For tomcat 6).

Default tomcat-users.xml

As you can see, there are no users defined in above xml.You can simply add user as below:

tomcat-users.xml

You need to use role as manager-gui for tomcat 7, tomcat 8 and manager for tomcat 6

Previous

Join Our News Letter - Stay Updated

Subscribe to Awesome Java Content.

Add Comment

Join Our News Letter - Stay Updated

Subscribe to Awesome Java Content.
You can like our facebook page Java2blog