How to Bring up the Tomcat Manager Gui

Document ID : KB000072080
Last Modified Date : 14/03/2018
Show Technical Document Details
How to Bring up the Tomcat Manager Gui
Apache Tomcat
  1.  Tomcat must be up and running
  2. Edit the tomcat-users.xml file which is in the conf directory under the Tomcat directory
  3. Delete the lines with the comments around the last paragraph with the roles
  4. Add at the bottom after the other roles  (supplying a username and password you created)
    <role rolename="manager-gui"/>
    <user username="tomcat" password="s3cret" roles="manager-gui"/>
  5. Save
  6. Restart tomcat
  7. Bring up the Tomcat manager at this location and log in using the userid and password
    you added to the tomcat-users.xml.  (In the example above is it tomcat/s3cret)


    and log in
  8. You may want to undo this after we are done with the Tomcat manager as you will not
    need it regularly and leaving that section uncommented may get you tagged with a vulnerability