Caldarale, Charles R wrote:
From: Rob Tanner [mailto:[EMAIL PROTECTED] Subject: Re: Problem deploying existing webapp in new Tomcat container
As far as server.xml, how else does one specify the specifics, such as
the path variable? (Here we go again... my favorite subject :-)

damn. you beat me.

First, read the doc:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
Note the following extracts from the Introduction and the description of
the path attribute:
"For Tomcat 6, unlike Tomcat 4.x, it is NOT recommended to place
<Context> elements directly in the server.xml file. This is because it
makes modifing the Context configuration more invasive since the main
conf/server.xml file cannot be reloaded without restarting Tomcat."
"The value of this field must not be set except when statically defining
a Context in server.xml, as it will be inferred from the filenames used
for either the .xml context file or the docBase."
Nor should you be specifying a docBase. Put the <Context> elements where
they belong - in META-INF/context.xml of each webapp - and remove the
path and docBase attributes.
Also, reading this part of the doc:
http://tomcat.apache.org/tomcat-6.0-doc/logging.html
would show you that the <Logger> element is no longer used. - 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.



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to