LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Tomcat administration webapps (https://www.linuxquestions.org/questions/linux-server-73/tomcat-administration-webapps-817951/)

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 https://help.ubuntu.com/9.10/serverguide/C/tomcat.html .
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

<tomcat-users>
<!--
<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"/>
-->
</tomcat-users>

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

bathory 07-04-2010 09:13 AM

Hi,

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

Regards

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

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


All times are GMT -5. The time now is 11:58 AM.