This is my first foray into the world of the Tomcat manager app.  Any help
is appreciated.

I've been using this guide:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html

I've modified conf/tomcat-users.xml: I added a new role named "manager", as
I wasn't clear on whether the existing role of "tomcat" was equal to
"manager" or not.  I also added a new user named "admin" like so:

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

When I access http://some.host.name:8080/manager, I get prompted with a
standard auth request pop-up.  I type in the username and password of the
"admin" user.

The result is a blank white page and an error message that says "FAIL -
Unknown command /".

According to the guide, I can deploy the manager app simply by having
manager.xml in the appBase for my Host.

The Host appBase is "webapps" which is the default.  There is a manager.xml
file in CATALINA_HOME/webapps, it's the one that came with the install
package.

Can anyone tell me what I am missing?  Do I have tomcat-users.xml screwed
up?  In the default tomcat-users.xml, is the "tomcat" role = "manager" role
as mentioned in the docs?

Thanks in advance.

- John

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to