LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-18-2003, 06:25 PM   #1
antken
Member
 
Registered: Nov 2000
Location: england
Distribution: latest Mandrake
Posts: 368

Rep: Reputation: 30
TOMCAT - i cannot configure


hi every body,

i have just installed TOMCAT from the apache group, all seems to be working fine, except for the configuration part of the server.

i click on the administration bit of the server test page, it loads and asks for a username and password. however i have no idea what the user name or password to get into the system is.

is there a default username and password for a default install for tomcat ?

or am i being stupid and over looking a howto some place?

thanks
antken
 
Old 09-17-2003, 05:03 AM   #2
davee
Member
 
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263

Rep: Reputation: 30
Add a username and password to the file $CATALINA_HOME/conf/tomcat-users.xml. You may need to add the roles for admin and manager as well.

eg:

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="dave" password="tomcat" roles="admin,manager"/>
</tomcat-users>

Dave.

Last edited by davee; 09-17-2003 at 05:44 AM.
 
  


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
configure Tomcat .. bharath144 Linux - Software 3 11-21-2005 05:41 AM
Configure Tomcat 4.1.30 on Redhat Linux Advanced Server 2.1 net_shadow Programming 1 10-23-2004 04:20 PM
Configure Redhat Linux on VMWare to use Apache and Tomcat beltzaser Linux - Networking 0 06-25-2004 04:02 AM
how to configure Tomcat with Apache ambuj General 1 04-20-2004 08:21 AM
Not able to configure Tomcat on fedora jolly Linux - Software 0 02-11-2004 02:03 PM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration