Lets see if I can complete the information here in a more concise manner. 1) Debian Lenny, patched up to date 2) Tomcat 5.5, Apache 2.2.9
On 2/21/11 1:43 PM, Caldarale, Charles R wrote: >> The tomcat install is serving many vhosts, they are all working >> properly. Each vhost is configured with it's own ROOT.xml file >> with a <Context path="/" docRoot="where-the-war-file-is"> entry. > > Just as start, your sample <Context> element is incorrect on two > counts for any supported version of Tomcat: the path attribute is not > allowed here (even if it were, you've specified it incorrectly), and > there is no docRoot attribute for <Context>. > http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Noted, I've removed it. That was also informative as it points out the 'filename.xml' implies the context for the definition is the 'filename' portion of the file. IE, 'manager.xml' will define the context '/manager/'. Interesting. The 'docRoot' was again a typo on my part, apologies. I meant 'docBase'. >> <Host name="congov2.stonekeep.com" appBase="webapps/REDACTED.com" >> unpackWARs="false" autoDeploy="false" xmlValidation="false" >> xmlNamespaceAware="false" /> > >> I'm virtually positive that the /var/lib.../Catalina directory >> above is the proper place to put the manager.xml > > Nope - it should be in > /var/lib/tomcat5.5/conf/Catalina/congov2.stonekeep.com, not > REDACTED.com. I was attempted to obfuscate the site name- I'll grant that added confusion. The directory I'm working in is: /var/lib/tomcat5.5/conf/Catalina/congov2.stonekeep.com/ Within that directory is 'manager.xml', which looks like this now: <?xml version="1.0" encoding="UTF-8"?> <Context docBase="/usr/share/tomcat5.5/server/webapps/manager" privileged="true" antiResourceLocking="false" antiJARLocking="false"> <!-- Link to the user database we will get roles from --> <ResourceLink name="users" global="UserDatabase" type="org.apache.catalina.UserDatabase"/> </Context> There are no other files in the congov2.stonekeep.com directory. Trying to hit either the root or the /manager/html/ url results in 400 errors in apache: congov2.stonekeep.com:80 172.16.1.1 - - [21/Feb/2011:15:43:00 -0500] "GET / HTTP/1.0" 400 - "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4" congov2.stonekeep.com:80 172.16.1.1 - - [21/Feb/2011:15:43:04 -0500] "GET /manager/html/ HTTP/1.0" 400 - "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4" Suggestions? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org