Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Tomcat 7 on Arch Linux. Was working before but I screwed it up so this is now a fresh install (removed package, dependencies, cleaned cache, rebooted, reinstalled, restarted). I try to log in to the Manager GUI but it keeps prompting me for my username and password even when I enter correctly. Thought it might be permissions so I chown'd everything to tomcat:tomcat but still nothing.

Here's my tomcat-users.xml:

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
  <role rolename="tomcat"/>
  <role rolename="manager-gui"/>
  <role rolename="manager-script"/>
  <role rolename="manager-jmx"/>
  <role rolename="manager-status"/>
  <role rolename="admin-gui"/>
  <role rolename="admin-script"/>
  <user username="tomcat" password="[CHANGE_ME]" roles="tomcat"/>
  <user username="manager" password="[CHANGE_ME]" roles="manager-gui,manager-script,manager-jmx,manager-status"/>
  <user username="admin" password="[CHANGE_ME]" roles="admin-gui"/>
</tomcat-users>
share|improve this question

1 Answer 1

up vote 0 down vote accepted

Solution: I'm an idiot. Malformed tomcat-users.xml due to hastily copy-and-pasting tutorial example.

share|improve this answer

Your Answer

 
discard

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.