It is even clearer to me that you haven't read the Tomcat documentation
that Apache has out there online:

"For Tomcat 5, 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.

Context elements may be explicitly defined: 


       in the $CATALINA_HOME/conf/context.xml file: the Context element
information will be loaded by all webapps
 
       in the $CATALINA_HOME/conf/[enginename]/[hostname]/context.xml.default
file: the Context element information will be loaded by all webapps of
that host
 
       in individual files (with a ".xml" extension) in the
$CATALINA_HOME/conf/[enginename]/[hostname]/ directory. The name of the
file (less the .xml) extension will be used as the context path.
Multi-level context paths may be defined using #, e.g. context#path.xml.
The default web application may be defined by using a file called ROOT.xml.
 
       if the previous file was not found for this application, in an
individual file at /META-INF/context.xml inside the application files
 
       inside a [ http://tomcat.apache.org/tomcat-5.5-doc/config/host.html
]Host element in the main conf/server.xml
 "

http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
"Tomcat Users List" <users@tomcat.apache.org> on Tuesday, March 25, 2008
at 5:02 PM -0500 wrote:
>> From: Tommy Peterson [mailto:[EMAIL PROTECTED] 
>> Subject: Re: another apache/tomcat/mod_jk/virtual hosting 
>> question/issue
>> 
>> I don't understand why this has to be this difficult.
>
>Because you seem to be trying to solve multiple problems simultaneously,
>rather than isolating them and taking care of one at a time.  Until you
>can demonstrate that the webapps are functioning with direct
>browser-to-Tomcat connections, don't introduce httpd into the mix.
>
>> I have followed the documentation.
>
>It's clear that you haven't (or else you're using sadly outdated
>documentation), or you would not be putting your <Context> elements in
>Tomcat's conf/server.xml file.
>
> - 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 start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Reply via email to