Re: symlinks in webapps

2008-09-06 Thread Claudio Tassini
> I don't think that's true - each directory or .war file in the appBase > directory will cause a separate application deployment, which is what I > thought you wanted. As you may have noted, I am not a Tomcat expert so you are probably right. But my app logs in catalina.out when it reads its con

Re: symlinks in webapps

2008-09-06 Thread Claudio Tassini
> > > The second context xml file, named secondInstance.xml (URL would be > http://localhost:8080/secondInstance): > > This don't work. It seems that with tomcat > 5.0 you can't point a context's docBase to something INSIDE the appBase directory when using context files in conf/[Engine name]/[H

RE: symlinks in webapps

2008-09-06 Thread Caldarale, Charles R
> From: Claudio Tassini [mailto:[EMAIL PROTECTED] > Subject: Re: symlinks in webapps > > it causes my app to start several times, while with > a simple symlink I had the same webapp referenced as > many times as I wished I don't think that's true - each directory

Re: symlinks in webapps

2008-09-06 Thread David Smith
s 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: syml

Re: symlinks in webapps

2008-09-06 Thread Claudio Tassini
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 h

Re: symlinks in webapps

2008-09-06 Thread Claudio Tassini
/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

RE: symlinks in webapps

2008-09-05 Thread Caldarale, Charles R
> 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 element in conf/Catalina/[host]/WebMail2.xml: (Include whatever else is neede

symlinks in webapps

2008-09-05 Thread Claudio Tassini
Hi guys, I'm trying to make a link to an app inside the webapps directory in tomcat 6.0.18 . The goal is to have the same webapp referenced by two contexts, and this worked fine in 5.x . In 6.x, if I make a symlink to a webapp in the webapps directory, the app fails to start: [EMAIL PROTECTED] web