You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jacob Rhoden <ja...@rhoden.id.au> on 2007/03/13 04:12:37 UTC
tomcat-users.xml config in tomcat 6
This is probably something very dumb on my part (: but, when I try to
use the manager app in a fresh tomcat 6 install, i get the following
message.
"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."
It then tells me to put:
<role rolename="manager"/>
<user username="tomcat" password="s3cret" roles="manager"/>
In tomcat-users.xml (I had already put something in there). And it
didn't really fix it. There are no errors in the logs directory. I
cannot work out the problem and google was no help on this one. Any
thoughts?
Thanks, Jacob
__________________________________________
Jacob Rhoden - http://www.jacobrhoden.com/
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: tomcat-users.xml config in tomcat 6
Posted by Jacob Rhoden <ja...@rhoden.id.au>.
Sorry I should have mentioned, yes I did restart. There are no reported
errors with parsing or anything like that. The users file is now currently:
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager"/>
<user username="tomcat" password="s3cret" roles="manager"/>
</tomcat-users>
Parsons Technical Services wrote:
> Jacob,
>
> Did you restart Tomcat?
>
> Can you post your tomcat-users.xml?
>
> Doug
>
>
> ----- Original Message ----- From: "Jacob Rhoden" <ja...@rhoden.id.au>
> To: "Tomcat Users List" <us...@tomcat.apache.org>
> Sent: Monday, March 12, 2007 11:12 PM
> Subject: tomcat-users.xml config in tomcat 6
>
>
>> This is probably something very dumb on my part (: but, when I try to
>> use the manager app in a fresh tomcat 6 install, i get the following
>> message.
>>
>> "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."
>>
>> It then tells me to put:
>>
>> <role rolename="manager"/>
>> <user username="tomcat" password="s3cret" roles="manager"/>
>>
>> In tomcat-users.xml (I had already put something in there). And it
>> didn't really fix it. There are no errors in the logs directory. I
>> cannot work out the problem and google was no help on this one. Any
>> thoughts?
>>
>> Thanks, Jacob
>>
>> __________________________________________
>> Jacob Rhoden - http://www.jacobrhoden.com/
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
--
__________________________________________
Jacob Rhoden - http://www.jacobrhoden.com/
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: tomcat-users.xml config in tomcat 6
Posted by Parsons Technical Services <pa...@earthlink.net>.
Jacob,
Did you restart Tomcat?
Can you post your tomcat-users.xml?
Doug
----- Original Message -----
From: "Jacob Rhoden" <ja...@rhoden.id.au>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Monday, March 12, 2007 11:12 PM
Subject: tomcat-users.xml config in tomcat 6
> This is probably something very dumb on my part (: but, when I try to
> use the manager app in a fresh tomcat 6 install, i get the following
> message.
>
> "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."
>
> It then tells me to put:
>
> <role rolename="manager"/>
> <user username="tomcat" password="s3cret" roles="manager"/>
>
> In tomcat-users.xml (I had already put something in there). And it
> didn't really fix it. There are no errors in the logs directory. I
> cannot work out the problem and google was no help on this one. Any
> thoughts?
>
> Thanks, Jacob
>
> __________________________________________
> Jacob Rhoden - http://www.jacobrhoden.com/
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org