LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   TOMCAT - i cannot configure (https://www.linuxquestions.org/questions/linux-software-2/tomcat-i-cannot-configure-83262/)

antken 08-18-2003 05:25 PM

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

davee 09-17-2003 04:03 AM

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.


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