Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-18-2003, 05:25 PM   #1
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?

Old 09-17-2003, 04:03 AM   #2
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.


<?xml version='1.0' encoding='utf-8'?>
<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"/>


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


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 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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:16 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