server.xml is the one that's used to generate tomcat-apache.conf, but at
least as of 3.1 final it did not correctly copy over the full path for
new contexts unless they are added under <path-to-tomcat>/webapps. So If
you want your context to live somewhere else you'll need to modify (i.e.
correct) tomcat-apache.conf after it's created, and then it's a good
idea to rename that to something else and include the new file name in
your httpd.conf.

-Steve

Bill Stearns wrote:
> 
> Hi,
> 
>     We're running Apache 1.3.12 with Tomcat 3.1 and have
> several questions regarding the configuration files in the /conf
> directory (Windows NT)
> 
>     I read in the documentation that the tomcat-apache.conf
> file is generated when you start Tomcat. Are any of the other
> files used as input to Tomcat when generating this file ??
> Originally I thought that if I made changes to the tomcat.conf file,
> this would be used as input to create tomcat-apache.conf, but
> it doesn't appear so. So, my question is, if I wanted to, say, add a
> new servlet zone, do I just make a copy of the tomcat-apache.conf
> file to another name, then make the changes and update the
> include directive in the httpd.conf file with the new name ?? If
> there are no input files to create the tomcat-apache.conf file,
> is Tomcat spitting out the same file each time it starts ?? If so,
> why ?? If not, please point me to the proper configuration file
> to alter to have the changes appear in the newly created
> tomcat-apache.conf file. On a similar thread, some documents
> recommend including tomcat.conf in the httpd.conf file, others
> include tomcat-apache.conf. Is there a preference ??
> 
>     Also, does any one know where there may be documentation
> on what all the configuration files in the /conf directory are used for
> ??
> I found explanations on server.xml, web.xml, tomcat.conf and
> tomcat-apache.conf but nothing on any of the others.
> 
>     TIA, Bill Stearns
> 
> --
> 
> Bill Stearns                    Nortel Networks
> Software Engineering Manager    600 Tech Park Drive
>                                 Billerica, Ma, 01821
>                                 (978) 288-8258 office
>                                 (888) 780-6072 pager
> 
> mailto:[EMAIL PROTECTED]

-- 
Steve Weiss      Association of American Medical Colleges
(202)828-0428    mailto:[EMAIL PROTECTED]    http://www.aamc.org

Reply via email to