I keep getting prompted for a user name and password when I try to access the following URL:
http://localhost:8080/manager/html
App Server: Tomcat 6.0.35
Browser: Firefox 3.6.18
OS: Centos 5.5
Content of tomcat-users.xml:
<tomcat-users>
<role rolename="manager"/>
<user username="tomcat" password="tomcat" roles="manager"/>
</tomcat-users>
I started Tomcat with: sudo ./startup.sh
I stopped Tomcat with: sudo ./shutdown.sh
Best Answer
The roles have changed with Apache Tomcat 6 as per the link to the documentation below. http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Configuring_Manager_Application_Access
There are four roles defined by the manager application:
For your problem, try this:
Login with
user
andpassword
.It works 100%.