> From: Eric [mailto:cam...@gmail.com]
> Subject: Re: help with tomcat manager
> 
> Your example inspired me to create a role named "admin" and add that
> role to the username "campee". I can login just fine now.

That shouldn't have made a difference.  My admin role is just left over from 
older versions of Tomcat that included an admin webapp in addition to the 
manager.  Look in WEB-INF/web.xml for each app of interest to see what role(s) 
it requires.

I removed the admin role from my tomcat-users.xml and can successfully use the 
manager app.

<tomcat-users>
  <role rolename="manager"/>
  <user username="admin" password="testing" roles="manager"/>
</tomcat-users>

I suspect you either didn't really restart Tomcat the first time, or perhaps 
hadn't written the updated tomcat-users.xml file back with whatever editor your 
were using.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to