The Tomcat Manager and Administration tool requires a user to be setup, users are by default configured in /etc/tomcat5/tomcat-users.xml. Edit the file and add a user, the example below adds 2 roles - admin and manager - and a new admin user with both roles assigned.

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
  <role rolename="manager"/>
  <role rolename="admin"/>
  <user username="admin" password="password" roles="admin,manager"/>
</tomcat-users>

RedHat/Java/CreateAdminUser (last edited 2006-02-08 19:16:27 by azrael)