Quote:
Originally Posted by falcon1620
I found a missing file in /etc/tomcat6/Catalina/localhost/manager.xml
copying from Tomcat 5 I added it in as:
<Context path="/manager" debug="0" privileged="true"
docBase="/var/lib/tomcat6/webapps/manager">
</Context>
and restarted the service
Problem solved.
I don't think that I have ever had a Tomcat Installation missing this though... 
|
I ran into the same problem. I queried which package contained the file /etc/tomcat6/Catalina/localhost/manager.xml with
Code:
yum provides /etc/tomcat6/Catalina/localhost/manager.xml
No packages were reported to own this file. I then queried the same file for tomcat5 with
Code:
yum provides /etc/tomcat5/Catalina/localhost/manager.xml
And I got
Code:
tomcat5-admin-webapps-5.5.27-7.4.fc12.noarch : Administrative web applications for Apache Tomcat
Repo : fedora
Matched from:
Filename : /etc/tomcat5/Catalina/localhost/manager.xml
I then ran
Code:
rpm -ql tomcat6-admin-webapps
as I had that package installed on my system to see if it contained the same file, but I found that it really missed that file(along with other xml files under /etc/tomcat6/Catalina/localhost, although the folder itself existed as part of the tomcat6 package).
I've filed a bug report for this at
https://bugzilla.redhat.com/show_bug.cgi?id=641196.
---------- Post added at 01:38 PM GMT ---------- Previous post was at 02:00 AM GMT ----------
It turned out that the problem was related to bad file permissions on /etc/tomcat6/Catalina(and consequently on its subdirectory localhost) as illustrated in an earlier bug
https://bugzilla.redhat.com/show_bug.cgi?id=574593.