https://issues.apache.org/bugzilla/show_bug.cgi?id=50904
Summary: cannot configure manager as per documentation
Product: Tomcat 6
Version: 6.0.32
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Documentation
AssignedTo: [email protected]
ReportedBy: [email protected]
Following the documentation for Tomcat 6 on the tomcat web site (also in
webapps/docs/ in 6.0.32), I cannot configure the manager as "manager-gui" (this
is a tc 7 feature, but listed in tc 6 docs).
Starting from a clean tomcat download, I modified manager.xml in
conf/Catalina/localhost as per directions (substituting correct full path for
docBase), and modified conf/tomcat-users.xml to contain
<role rolename="manager-gui"/>
<user name="mui" password="mytomcat" roles="manager-gui" />
If I try to open http://localhost:8080/manager/list, I get a 403 Access Denied
error.
If I use the previous manager configuration, e.g.
<role rolename="manager"/>
<user name="mui" password="mytomcat" roles="manager" />
then it works. Note the webapps/manager/WEB-INF/web.xml file has "manager-gui"
defined, but the manager-gui role doesn't seem to work.
The only other mods I made were to create a little script called bin/runcat.sh
to start tomcat using jsvc as per setup instructions, and to copy a few .war
files into webapps/ to test the server, which works just fine. Also I'm using
RedHat 5 (RHEL 5.5). I logged in as a non-privileged user (e.g. not root), and
installed and ran tomcat as root. Is running tc as root a bad idea?
I'm not sure if this is a bug in documentation, or in the manager webapp.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]