-   Linux - Server (
-   -   Tomcat administration webapps (

arvindk.monu 07-04-2010 06:34 AM

Tomcat administration webapps
Hiii All,
I am using Ubuntu 9.10, i am taking help from ubuntu server guide .
I installed Apache Tomcat6,every thing is running fine but facing problem in Tomcat administration webapps:-

in manager webapp http://localhost:8080/manager/html
in this i am using username=manager password=s3cret
but not it is not authenticating with these credentials

in host-manager webapp http://localhost:8080/host-manager/html
in this,i am using username=admin password=s3cret
but it is also not authenticating with these credentials

i edited file /etc/tomcat6/tomcat-users.xml

<role rolename="tomcat"/>
<role rolename="manager"/>
<role rolename="admin"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="manager" password="s3cret" roles="manager"/>
<user username="admin" password="s3cret" roles="admin"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="both" password="s3cret" roles="manager,admin"/>

please help me..i will be very Thankful to you all

bathory 07-04-2010 09:13 AM


Remove "<!--" and "-->" and restart tomcat. This way anything between those tag is considered as a comment


arvindk.monu 07-04-2010 10:12 AM

Thank you sir....You resolved my problem.

All times are GMT -5. The time now is 04:55 PM.