LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-04-2010, 07:34 AM   #1
LQ Newbie
Registered: Aug 2009
Posts: 22

Rep: Reputation: 0
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
Old 07-04-2010, 10:13 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,209

Rep: Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394

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

1 members found this post helpful.
Old 07-04-2010, 11:12 AM   #3
LQ Newbie
Registered: Aug 2009
Posts: 22

Original Poster
Rep: Reputation: 0
Thank you sir....You resolved my problem.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Tomcat Administration? your_shadow03 Linux - Newbie 1 01-24-2010 01:06 AM
Tomcat Administration Linux - Software 1 12-17-2005 01:41 AM
Tomcat Administration Tool jonnycarlos Linux - Software 1 11-23-2004 05:30 AM
Apache/tomcat/webapps: Invalid command 'WebAppDeploy' (and WebAppInfo) jeroenvrp Debian 2 10-18-2004 03:07 AM
tomcat administration tools- web error wolfwolf Linux - Software 0 03-01-2004 11:09 PM

All times are GMT -5. The time now is 06:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration