You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by sillyminds <si...@sify.com> on 2011/04/22 20:34:04 UTC
tomcat 6.0.32 centos 5.5 manager access - newbie
Apache Tomcat 6.0.32.0
Centos 5.5
I am a newbie to tomcat need some step by step guidance on how access & how
to deploy a war in tomcat 6.
In early version of 5.5.30 to access the management console & deply a war I
had to do the below:
Modify tomcat-users.xml
add the roles and user access like this
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager"/>
<role rolename="tomcat"/>
<role rolename="admin"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="admin" password="123456" roles="admin,manager"/>
<user username="role1" password="tomcat" roles="role1"/>
</tomcat-users>
then hit
http://localhost:8080
click on the tomcat administration
provide access login & password
then go to browse locate the war file and click on deploy.
========================================================================
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>
http://localhost:8080
I am not able to find the administration but only status and manager
When I click on the manager with the given login from tomcat-users.xml then
its not allowing me
What to do or what am I missing pl?
--
View this message in context: http://old.nabble.com/tomcat-6.0.32-centos-5.5-manager-access---newbie-tp31458190p31458190.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: tomcat 6.0.32 centos 5.5 manager access - newbie
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----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