Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: Tomcat Status, Administration and Manager not working

dl

2006-12-29

Replies:




Caldarale, Charles R wrote:
>
> Both the Status and Tomcat Manager links refer to servlets within the
> manager app, and both paths, by default, only require a role of manager
> to access them. ...
>

Thanks again .. your comment .. "only require a role of manager" .. gave me
the clue.

I had defined mixed roles in tomcat-users.xml (see earlier post) so I
deleted references to role "admin" and it now works.

Here is the new file I am using .. now giving access to status, admin and
manager .....

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="manager" password="xxxyyyzzz" roles="manager"/>
<user username="admin" password="xxxyyyzzz" roles="manager"/>
</tomcat-users>
--
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.