I have an Ubuntu 14.04 server with a fresh Tomcat7 installation (with management modules). I can't login to the management page no matter what user settings I use on /etc/tomcat7/tomcat-users.xml .

The current one is this:

<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="admin" password="admin" roles="manager-gui"/>

I also gave all the above roles to the same user but still can't authenticate. Any help is appreciated.


It appears that you're missing the parent tags in your XML.

The full XML format should be:

    <role rolename="manager-gui"/>
    <user username="admin" password="admin" roles="manager-gui"/>

Also, bounce the Tomcat service once you're done.

  • 2
Reply Report

Warm tip !!!

This article is reproduced from Stack Exchange / Stack Overflow, please click

Trending Tags

Related Questions