This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat6-admin

 
Pavan bhagavatula
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just installed Tomcat 6 on Ubuntu OS and when i try to access Tomcat6-admin i got 401 error. I have update the tomcat-user.xml with role, user name and password. I am still not able to access admin console. Any help on this appreciated.


401 Unauthorized

You are not authorized to view this page. If you have not changed any configuration files, please examine the file conf/tomcat-users.xml in your installation. That file will contain the credentials to let you use this webapp.

You will need to add manager role to the config file listed above. For example:

<role rolename="manager"/>
<user username="tomcat" password="s3cret" roles="manager"/>
 
Kuldip Shetty
Ranch Hand
Posts: 43
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The correct rolename is admin for the admin gui, manager is for tomcat manager. Also verify if you forgot to remove XML Comment markup in tomcat-users.xml file. As per your configuration, manager role is configured and you are trying to access admin pages.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic