> From: ron.vandenbranden@home [mailto:[email protected]]
> Subject: Re: adding a global URI prefix for Tomcat web apps
> I have my webapps located at F:\tomcatApps (so outside of the catalina
> tree), where 'my_app' lives in a folder named 'apps#my_app'. So I'm
> specifying this in ${catalina.base}/conf/server.xml:
> <Host name="localhost" appBase="F:/tomcatApps" unpackWARs="true"
> autoDeploy="false" deployOnStartup="false">
But now they're _inside_ Tomcat's space, since you specified an appBase
pointing to them. Put appBase back to what it was. Note that Konstantin did
not tell you to change that.
> Next, I create following file at
> ${catalina.base}/conf/Catalina/localhost/apps#my_app:
> <Context docBase="/my_app/" />
> (as I understand from the docs that the @docbase value must be relative
> to the Host's @appBase).
Not when you specify a leading slash. However, you need to place these apps
_outside_ of the <Host> appBase, not inside it, and you should specify the
complete (absolute) path to the webapp. (The webapp must be outside of appBase
in order to make the # trick work and not confuse Cocoon.)
- 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 unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]