Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


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

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

share|improve this question
Have you tried looking at the logs? – Andrey Nov 7 '11 at 20:44

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

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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