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

Notices

Reply
 
Search this Thread
Old 07-04-2010, 06:34 AM   #1
arvindk.monu
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 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
 
Old 07-04-2010, 09:13 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,925

Rep: Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327
Hi,

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

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

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


Reply


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 12:06 AM
Tomcat Administration chandru.in Linux - Software 1 12-17-2005 12:41 AM
Tomcat Administration Tool jonnycarlos Linux - Software 1 11-23-2004 04:30 AM
Apache/tomcat/webapps: Invalid command 'WebAppDeploy' (and WebAppInfo) jeroenvrp Debian 2 10-18-2004 02:07 AM
tomcat administration tools- web error wolfwolf Linux - Software 0 03-01-2004 10:09 PM


All times are GMT -5. The time now is 12:07 PM.

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