> From: David Smith [mailto:[EMAIL PROTECTED] 
> Subject: Re: Multiple Contexts from single WAR
> 
> I don't know of any way to make one war deploy as three separate 
> contexts.

I already described the required procedure; here it is again:

1) The .war file must NOT go into the <Host> appBase directory (usually
webapps).

2) There must NOT be a path attribute in the <Context> (it would be
ignored, anyway).

3) Create a <Context> element in some file (not META-INF/context.xml)
with a docBase attribute specifying the absolute file system path of the
.war file.

4) Replicate the above file as many times as needed as [appname].xml in
conf/Catalina/[host].

Note that there are only two active steps, since the first two are
things NOT to do.

 - 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