What is the password for the Tomcat admin webapp?

Luigi Viggiano

You have to modify tomcat-users.xml in your $TOMCAT_HOME/conf directory to add an administrative role as in following example:

  <user name="scott" password="tiger" roles="admin" />
  <user name="role1" password="tomcat" roles="role1"  />
  <user name="both"  password="tomcat" roles="tomcat,role1" />

Then you can login with scott/tiger.
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.