Tomcat manager username and password failed

tomcat

I have tomcat 5.x installed and is running on port 80(with mod_jk setup). The directories 'manager', 'examples' and 'ROOT' were removed under /usr/share/tomcat/webapps/ and rebuilt them copying from a working tomcat server. When I acces http://localhost:8080/manager/html (or) http://localhost/manager/html, it keeps on prompting for the password even after enter correct username and password.

Best Answer

Are you sure the passwords are correct?

Check the TOMCAT_HOME/conf/tomcat-users.xml to see if the user has roles="manager" assigned