You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jim Richards <gr...@cyber4.org> on 2000/11/11 03:10:28 UTC

server.xml documentation

Is there any documentation on how server.xml works, in realtion to mappings
and JkMount directives in Apache? Specifically for version 3.2b6 of
tomcat.

Although the user guide is good, it doens't give a lot of detail on how
the path attribute in a context relates to a directory, and to a JkMount
in apache's configuration file. (I had the same problem with JServ originally
with a mapping, or a zone to an alias)

The main problem I am having is getting .war files (the struts packages) to
load anywhere else besides the default $TOMCAT_HOME/webapps 
directory.

I've got my own examples running, and the tomcat examples/admin/test
running. But I can't work out how to get .war files loaded that sit in
the document root of a webserver, that should use a context something like

Does a blank path come first, or last? The Host example has it first,
but this breaks my setup.

<Host name="splat.home.cyber4.org">

	[snip for exmaples/admin/test ...]

	<Context path=""
                 docBase="/cyber4/projects/devel/endonet/htdocs"
                 debug="0"
                 reloadable="true" >

where I have in the httpd.conf

<VirtualHost endonet.home.cyber4.org>
ServerAlias endonet

[snip ...]

JkMount *.do apj13
JkMount /struts-documentation apj13
JkMount /struts-example apj13

</VirtualHost>

--
Kumera - a new Open Source Content Management System
for small to medium web sites written in Perl and using XML
http://www.cyber4.org/kumera/index.html