7.6.3.1 Tomcat User Administration

The Tomcat administration and manager application does not provide a default login. You are required to edit "$CATALINA_HOME/conf/tomcat-users.xml" as follows:

This file contains an XML <user> for each user that will display the username and password used by the admin to log in to Tomcat and the role names to which the admin user is associated with.

For example, <user name="admin" password="admin" roles="standard,manager" />

  • Add the manager role to any one of the existing username/password combinations as shown in the preceding example.
  • Use the same username/password to which the manager role is assigned to access the Tomcat Application Manager.
  • If the Tomcat server is already running, it requires a re-start after the preceding configuration is done.