401 Unauthorized in Tomcat

Posted by Stardust on Stack Overflow See other posts from Stack Overflow or by Stardust
Published on 2010-03-22T11:29:51Z Indexed on 2010/03/22 11:31 UTC
Read the original article Hit count: 543

Filed under:
|
|
|

Hello,

I'm using Tomcat 6.0 as a webserver, and I'm trying to open tomcat manager page, but whenever I enter the username as specified in tomcat-users.xml file, I'm getting an error as:

  **401 Unauthorized**

Here's my tomcat-users.xml file:

<tomcat-users>
<role rolename="manager"/>
<user name="admin" password="" roles="admin,manager" />
  </tomcat-users>

I restart the tomcat, but it has not helped me. Could someone please tell me what's going on wrong?

© Stack Overflow or respective owner

Related posts about java

Related posts about tomcat