Don't seem to work. It seems that I can't use a docBase in a context.xml that points to something under the appBase directory, as it's simply ignored and tomcat assumes that the docbase is in /webapps : Sep 6, 2008 6:23:28 PM org.apache.catalina.startup.HostConfig deployDescriptor WARNING: A docBase /opt/webmail-portal-tomcat/webapps/WebMail inside the host appBase has been specified, and will be ignored Sep 6, 2008 6:23:28 PM org.apache.catalina.core.StandardContext resourcesStart SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base /opt/webmail-portal-tomcat/webapps/WebMail2 does not exist or is not a readable directory
On Fri, Sep 5, 2008 at 9:05 PM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Claudio Tassini [mailto:[EMAIL PROTECTED] > > Subject: symlinks in webapps > > > > The goal is to have the same webapp referenced by > > two contexts > > Rather than use symlinks, try using an additional <Context> element in > conf/Catalina/[host]/WebMail2.xml: > > <Context docBase="WebMail" /> > > (Include whatever else is needed from the META-INF/context.xml file, if > there is one. Do NOT use a path attribute.) > > Haven't tried this exact situation, but I think it should work... (famous > last words). > > - 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] > > -- Claudio Tassini