tomcat-users.xml and manager role

2009-09-09 Thread Bruce Nourish
Hi,

I have a 6.0.20 Tomcat binary distribution downloaded and untarred
directly from the Tomcat site. My system is Ubuntu 8.04 with Java
version 1.5.0_16. When I configure the manager role precisely as
directed in the 401 Error message:

role rolename=manager/
user username=tomcat password=s3cret roles=manager/

I am still unable to access the manager -- the basic auth dialog box
just keeps coming back. I have restarted Tomcat after making this
change. Looking at the documentation, I see discussion of MemoryRealm,
but judging by the comments in server.xml this information is out of
date: Tomcat is instead using UserDatabaseRealm. I can't find any
solutions in the Tomcat wiki, mailing lists, or the internet at large.
There is nothing that looks relevant or non-routine in the logs.

Could someone please explain what is going on here, and what I need to
do to fix it?

Bruce

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



Re: tomcat-users.xml and manager role

2009-09-09 Thread Bruce Nourish
Yup, looks like I'm just retarded. Thanks.

On Wed, Sep 9, 2009 at 12:02 PM, Caldarale, Charles
Rchuck.caldar...@unisys.com wrote:
 From: bruce.nour...@gmail.com [mailto:bruce.nour...@gmail.com]
 On Behalf Of Bruce Nourish
 Subject: tomcat-users.xml and manager role

 role rolename=manager/
 user username=tomcat password=s3cret roles=manager/

 A common error is to forget to remove the comment characters from around the 
 role and user elements.  Post your entire tomcat-users.xml so we can look 
 at it.

  - 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



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