tomcatmanager-app

Tomcat Application Manager won't authenticate


I'm running a local Tomcat 6.0 server. I can get to the main admin page from a browser. I've created a user for the Tomcat Application Manager by configuring tomcat-users.xml like so:

<tomcat-users>
      <role rolename="manager-gui" /> 
      <user username="myUsername" password="myPswd" roles="manager-gui" /> 
</tomcat-users>

When I type a cmd for TAM e.g. http://localhost:8080/manager/list, it prompts for credentials w/ the Authentication Required dialog. I enter myUsername/myPswd, and the dialog just re-prompts for credentials again.

What am I missing here?


Solution

  • The roles required to use the Manager application in Tomcat 7 were changed from the single manager role in Tomcat 6 to the following four roles:

    If you are using Tomcat 6 you need to change the role to "manager".