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>
up vote 0 down vote accepted

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

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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