tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: tomcat 6.0.32 centos 5.5 manager access - newbie
Date Fri, 22 Apr 2011 18:40:07 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sillyminds,

On 4/22/2011 2:34 PM, sillyminds wrote:
> Now I had downloaded tomcat 6.0.32 and I am confused after startup.sh when I
> hit
> Modified tomcat-users.xml as
> 
> <!--
>   <role rolename="tomcat"/>
>   <role rolename="role1"/>
>   <role rolename="manager"/>
>   <role rolename="manager-gui"/>
>   <user username="tomcat" password="tomcat" roles="tomcat"/>
>   <user username="both" password="tomcat" roles="tomcat,role1"/>
>   <user username="role1" password="tomcat" roles="role1"/>
>   <user username="tomcatadmin" password="secret123"
> roles="manager,manager-gui"/>
> -->
> </tomcat-users>

Your <role> and <user> elements are commented-out.

If you read the tomcat-users.xml file carefully, you'll see this comment
just inside the <tomcat-users> section:

<!--
  NOTE:  The sample user and role entries below are wrapped in a comment
  and thus are ignored when reading this file. Do not forget to remove
  <!.. ..> that surrounds them.
- -->

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2xy4YACgkQ9CaO5/Lv0PAjKwCfc0GLksFEBtyeVF89PF9fNsOc
Aq8AnRPulee1mc+FwkXv/U/07plTU3aQ
=e1v1
-----END PGP SIGNATURE-----

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


Mime
View raw message