Reputation: 567
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?
Upvotes: 1
Views: 2513
Reputation: 8034
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".
Upvotes: 2
Reputation: 3789
I had a problem like this too, I don't know if its a problem with my version of the manager/tomcat or if I have a newer tomcat then manager version but I've found that I have to use the legacy role 'manager' despite being on 6.0.x.
<role rolename="manager" />
<user username="myUsername" password="myPswd" roles="manager" />
Upvotes: 1