Im having trouble accessing my tomcat admin panel. Ive configured everything correctly as far as i can see (adding an admin/manager user to tomcat-users.xml). I can log into manager/html and enter my credentials, then get presented with a 403 error. Ive got the tomcat7-admin package installed on my system and tomcat is installed to the default location. Any ideas where im going wrong?

tomcat-users.xml:

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
  <role rolename="manager"/>
  <role rolename="admin"/>
  <user name="admin" password="adminpass" roles="manager,admin"/>
</tomcat-users>

If it helps, I'm using Ubuntu 11.10 x64.

link|improve this question

50% accept rate
Have you tried looking at the logs? – Andrey Nov 7 '11 at 20:44
feedback

1 Answer

I think the field is "username" not name. So it should look like the entry below:

<user username="admin" password="adminpass" roles="manager,admin" />

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.