Re: Trouble installing Tomcat.

2010-01-14 Thread Rick Bragg
On Wed, 2010-01-13 at 22:49 +, Mark Thomas wrote:
 On 13/01/2010 22:48, 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/
 
 Might those elements be commented out?
 
 Mark
 


Thanks, it was just commented out...
rick




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



Re: Trouble installing Tomcat.

2010-01-13 Thread Mark Thomas
On 13/01/2010 22:48, 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/

Might those elements be commented out?

Mark



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



RE: Trouble installing Tomcat.

2010-01-13 Thread Caldarale, Charles R
 From: Rick Bragg [mailto:li...@gmnet.net]
 Subject: Trouble installing Tomcat.
 
 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?

Not removing the comment markers around the role and user lists.  Use an 
XML-aware editor.

 - 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



Re: Trouble installing Tomcat.

2010-01-13 Thread Mark Witczak
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