A couple of things I can think of (having the same problem just a few weeks ago):

1. Restart Tomcat after you make the change to the file.

2. Make sure you're editing the correct tomcat-users.xml. I believe the one I had to edit was in /etc/tomcat6. I had been editing a file in /usr/share/tomcat6/conf, but it was not having any effect.

Good Luck,
Mark


On 1/13/2010 5:48 PM, Rick Bragg wrote:
Hi,

I have installed Tomcat, and I get the "It Works" page perfect, however,
when I try to go to the manager webapp I get the unauthorized 401 error.

I have the following in my conf/tomcat-users.xml file:

<role rolename="manager"/>
<user username="testuser" password="s3cret" roles="manager"/>

I am using Tomcat6 on Ubuntu.  Installed with apt-get.

What am I doing wrong?
Is there a log file somewhere I can look at?

Thanks
Rick




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


No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.432 / Virus Database: 270.14.138/2618 - Release Date: 01/13/10 
07:35:00

Reply via email to