You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mário Gamito <ga...@gmail.com> on 2006/10/31 17:26:12 UTC

Can't login as manager

Hi,

I'm trying to login as manager in Tomcat, but i can't.
The URL is: http://lx0scr1:8080/manager/html/

My tomcat-users.xml file is:
----------------------------------------------------
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
  <role rolename="tomcat"/>
  <role rolename="role1"/>
  <role rolename="manager"/>
  <role rolename="admin"/>
  <user username="gamito" password="abc123" fullName="Mario Gamito"
roles="manager"/>
  <user username="tomcat" password="tomcat" roles="tomcat"/>
  <user username="role1" password="tomcat" roles="role1"/>
  <user username="both" password="tomcat" roles="tomcat,role1"/>
  <user username="admin" password="123qwe" roles="admin"/>
</tomcat-users>
--------------------------------------------------------------

I can't login in the above URL with the credentials "gamito/abc123"

I've alrady restarted the server.

Any help would be appreciated.

Warm Regards,
Mário Gamito

RE: Can't login as manager

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Mário Gamito [mailto:gamito@gmail.com] 
> Subject: Can't login as manager
> 
> I can't login in the above URL with the credentials "gamito/abc123"
> I've alrady restarted the server.

Verify that your changes persisted after the Tomcat restart.  Tomcat rewrites conf/tomcat-users.xml, and your modifications may have been lost if you updated it while Tomcat was running.  Also verify that Tomcat still has permission to read/write the file after you made changes.

 - 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 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