title: I'm not able to log in Tomcat Manager App
body: <p>I have read a lot of topics in stackoverflow for solve my problem, but none was useful.</p>
  
  <p>When I tried to log in Manager App ([http://localhost:8080/manager/html][1]) using a lot of different configurations, but I always obtained <strong>401 Unauthorized</strong> after attempted to log in using the rights credentials.
  I restarted the tomcat server a couple of times.</p>
  
  <p>This is my last configuration in conf/tomcat-users.xml</p>
  
  <pre><code>   &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;tomcat-users&gt;  
        &lt;role rolename="manager-gui"/&gt;
        &lt;role rolename="manager-script"/&gt;
        &lt;role rolename="manager-jmx"/&gt;
        &lt;role rolename="manager-status"/&gt;
        &lt;role rolename="admin-gui"/&gt;
        &lt;role rolename="admin-script"/&gt;
        &lt;user username="admin" password="admin" roles="manager-gui, manager-script, manager-jmx, manager-status, admin-gui, admin-script"/&gt;
      &lt;/tomcat-users&gt;
  </code></pre>
  
  <p>This is the part related to tomcat-users in server.xml</p>
  
  <pre><code> &lt;GlobalNamingResources&gt;
      &lt;!-- Editable user database that can also be used by
           UserDatabaseRealm to authenticate users
      --&gt;
      &lt;Resource name="UserDatabase" auth="Container"
                type="org.apache.catalina.UserDatabase"
                description="User database that can be updated and saved"
                factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
                pathname="conf/tomcat-users.xml" /&gt;
    &lt;/GlobalNamingResources&gt;
  </code></pre>
  
  <p>This is my configuration:
  Apache Tomcat: Version 7.0.40 64 bit
  Tested on Chrome 26</p>
  
  <p>If there is something else useful that I forgot, let me know.
  Thanks in advance</p>