It�s works. You have wrote that browser prompt the login/password and you entered these information. But you have gotten 401 error after some attempts. So, if the configuration was wrong, probably the app didn�t start, and you cound see an error at tomcat�s log. This error message, 401, represents a wrong user and/or password entered by user.(See at http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html, for http messages) To see the headers informations use LiveHttpHeaders (http://livehttpheaders.mozdev.org/) for Mozila Firefox.
did you configure tomcat to use the tomcat-users.xml file as one of the Resource elements? chances are it doesn't have a realm configured just yet. [ January 01, 2009: Message edited by: cesar valencia ]