tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Two applications, one in a sub folder - Urgent help needed
Date Fri, 25 Jun 2010 13:46:45 GMT
> From: Paweł Zuzelski [mailto:z@xatka.net]
> Subject: Re: Two applications, one in a sub folder - Urgent help needed
> 
> app.xml should be something like:
> <?xml version="1.0" encoding="UTF-8"?>
> <Context path="/app" docBase="/usr/local/share/app1" privileged="false"
> allowLinking="true">
> </Context>
> 
> app#subapp.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <Context path="/app/subapp" docBase="/usr/local/share/app2"
> privileged="false" allowLinking="true">
> </Context>
> 
> Note that “path” attribute must match xml context file name (note:
> '/' becomes '#' in filename)

Actually, the path attribute must be removed - it's not allowed here.  The path is derived
from the name of the .xml file.

Otherwise, the above configuration is exactly what the OP needs, and seems to be studiously
avoiding.

 - 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.

Mime
View raw message