Thank you both very much! I did the following:
1.) Removed the context element from the server.xml 2.) added META-INF/context.xml to the web application and removed the docBase attribute 3.) Removed the logger element 4.) moved the Web Application to a folder named ROOT, directly under the appBase Now everything works fine. Am Mittwoch, den 18.11.2009, 08:18 -0600 schrieb Caldarale, Charles R: > > From: Matthias Pueski [mailto:matth...@pueski.de] > > Subject: Virtual hosts on tomcat > 5.5.15 > > > > <Host name="www.blah.de" debug="0" unpackWARs="true" > > appBase="/home/blah"> > > <Logger className="org.apache.catalina.logger.FileLogger" > > directory="logs" prefix="virtual_log." suffix=".txt" > > timestamp="true"/> > > There is no <Logger> element allowed in 5.5. > > > <Context path="" docBase="" debug="0" reloadable="true"/> > > As Pid noted, an empty docBase is illegal. Also, you should not be placing > <Context> elements in server.xml. If you want to define the default webapp > for a <Host>, name the .war file or directory ROOT (case sensitive), located > immediately under the <Host> appBase directory. The <Context> element > belongs in the webapp's META-INF/context.xml file, or in > conf/Catalina/[host]/[appName].xml. > > The fact that anything "worked" under 5.5.15 is purely accidental, since your > config is seriously broken. It appears to have been copied verbatim from a > much older version of Tomcat (or perhaps derived from the tons of > misinformation about Tomcat out on the Internet), which is always bad > practice. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org