<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 5/7/2010 8:18 AM, testwreq wreq wrote:
<blockquote
 cite="mid:x2za0c34f0a1005070518j3e5a1919yb993d9a579df8713@mail.gmail.com"
 type="cite">
  <div>I have a new instllation of tomcat on centos. My
$CATALINA_HOME is /usr/share/tomcat5 and tomcat is running.</div>
  <div> </div>
  <div><a moz-do-not-send="true" href="http://localhost:8080/">http://localhost:8080</a>
brings up the tomcat page & one of the option is "Administration".
I would like to use this web interface and even give some of the test
webapp users ability to restart tomcat.</div>
  <div> </div>
  <div>According to the home page, users are defined in <code>$CATALINA_HOME/conf/tomcat-users.xml</code>.
Currently my file has the following content</div>
  <div> more tomcat-users.xml<br>
<?xml version='1.0' encoding='utf-8'?><br>
<tomcat-users><br>
  <role rolename="tomcat"/><br>
  <role rolename="role1"/><br>
  <user username="tomcat" password="tomcat" roles="tomcat"/><br>
  <user username="both" password="tomcat" roles="tomcat,role1"/><br>
  <user username="role1" password="tomcat" roles="role1"/><br>
</tomcat-users><br>
  </div>
  <div>I tried logging to the administration web interface with
tomcat/tomcat but it did not work. Can anyone guide to configure this
file? I am very new to tomcat.</div>
  <div> </div>
  <div>Thank you.</div>
  <br>
</blockquote>
<br>
Are you new to tomcat? If so it would be in your best interested to
read:<br>
<br>
<a class="moz-txt-link-freetext" href="http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html">http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html</a><br>
<br>
The apache foundation provides extensive documentation for Tomcat. It
is a wealth of knowledge.<br>
<br>
<br>
>From the page above:<br>
<br>
"The username and password you enter do not matter, as long as they
identify a valid user in the users database who possesses the role <b>manager</b>."<br>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
         Ryan Manikowski


]] Devision Media Services LLC [[
         <a class="moz-txt-link-abbreviated" href="http://www.devision.us">www.devision.us</a>
 <a class="moz-txt-link-abbreviated" href="mailto:ryan@devision.us">ryan@devision.us</a> | 716.771.2282</pre>
</body>
</html>