tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <david.sm...@cornell.edu>
Subject Re: Can't login to Tomcat manager pages
Date Thu, 22 Apr 2010 12:29:50 GMT
On 4/21/2010 1:14 PM, Luís de Sousa wrote:
> 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>
>
>   

I have a Ubuntu 9.10 system and did exactly what you've posted above. 
It works like a charm.  Have you altered anything else?  Change
permission inadvertently on tomcat-users.xml?  Mine is read/write by
root, read-only by tomcat6.

--David

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


Mime
View raw message