LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 05:25 PM   #1
antken
Member
 
Registered: Nov 2000
Posts: 368

Rep: Reputation: Disabled
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, 04: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 04:44 AM.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:24 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
Open Source Consulting | Domain Registration