tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giorgio Clavelli <>
Subject Re: Unable to open Tomcat Manager?
Date Thu, 20 Oct 2005 23:46:38 GMT
I got a similar problem. I'm using Tomcat 5.5.12 on a WinXP box. I installed
by using the zip version and startup and shutdown using the batch files.
I solved it by deleting the all Server files and re-unzip them back in the
same location (possibly not required this deletion but who knows?). The next
day, before even trying to launch the manager, I modified the
tomcat-users.xml as you did and it worked fine.
My guess is that on the first day, I tryed to access the Manager before
modifying the tomcat-users.xml and the server must have registered my IP
(localhost in this case) in a sort of black list stored somewhere but not
inside the installation location and when I shutdown the system this list
was some how deleted or expired due some timer lock.
Not sure however now it works, I'm happy and outside there is the sun...

On 10/21/05, 梁炳場 <> wrote:
> My tomcat-users.xml
> <?xml version='1.0' encoding='utf-8'?>
> <tomcat-users>
> <role rolename="tomcat"/>
> <role rolename="role1"/>
> <role rolename="manager"/>
> <role rolename="admin"/>
> <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="abc123" roles="admin,manager"/>
> </tomcat-users>
> My server.xml
> <Realm className="org.apache.catalina.realm.JDBCRealm"
> driverName="com.mysql.jdbc.Driver"
> connectionURL="jdbc:mysql://localhost:3306/erp"
> connectionName="root" connectionPassword="abc123" digest="MD5"
> userTable="user_profile" userNameCol="usernm" userCredCol="passwd"
> userRoleTable="user_role" roleNameCol="role_name" />
> I have inputted username and user role in tables.
> Still receive this message
> HTTP Status 403 - Access to the requested resource has been denied
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message