title: Tomcat 7: still Cannot Log in Manager Application AFTER MODIFIED USERNAME & PW
body: <p>I have the exact same question with this guy: <a href="https://stackoverflow.com/questions/15042235/tomcat-7-manager-how-to-authenticate">Tomcat 7 Manager - how to authenticate?</a></p>
  
  <p>I'm using Windows and I downloaded the Tomcat 7.0.39 Installer for Windows. When the installer was running, I didn't set any username and password for it (which means I left these textfield blank). However, when I tried to look up the Server Status on the Tomcat server hompage, it reminded me to enter the username and password. Whatever I enter, included not entering anything, it wouldn't let me pass.</p>
  
  <p>Then, I googled and modified the usernames and passwords as what I was told:</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='cp936'?&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>Then, I restarted Tomcat. But I still cannot pass. I have searched very carefully but really cannot find an answer through Internet. </p>