On 21/04/2010 18:45, Propes, Barry L wrote:
> I started having a similar problem yesterday and discovered that somehow my web.xml file
had been deleted (not sure how), so I replaced it.
>
> Make sure you have that in your manager folder in WEB-INF.
Barry probably meant: "make sure you have a web.xml in WEB-INF, in
webapps/manager" - because a web.xml in a manager directory in (any)
WEB-INF isn't going to be discovered by Tomcat.
p
> -----Original Message-----
> From: Luís de Sousa [mailto:luis.a.de.sousa@gmail.com]
> Sent: Wednesday, April 21, 2010 12:15 PM
> To: users@tomcat.apache.org
> Subject: Can't login to Tomcat manager pages
>
> Dear all,
>
> Tomcat 6.0.20 on Ubuntu 9.10. I can't login to the manager pages (http://localhost:8080/manager/html).
I set a new user and a few roles in the /etc/tomcat6/tomcat-users.xml file, restarted Tomcat
but can't possibly login.
>
> I browsed through a number of threads with similar issues but couldn't solve it so far.
Note that I uncommented the users section in the file, it is reproduced below.
>
> Thanks for you time,
>
> Luís
>
> --
>
> <?xml version='1.0' encoding='utf-8'?>
>
> <tomcat-users>
>
> <role rolename="admin"/>
> <role rolename="manager"/>
> <role rolename="standard"/>
> <user username="admin" password="admin" roles="admin,standard,manager"/>
>
> </tomcat-users>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
|