Re: symlinks in webapps

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

Re: symlinks in webapps

2008-09-06 Thread David Smith
, 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

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 or .war file in the appBase directory

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): Context docBase=originalWebapp !-- Define second instance resources if any -- /Context This don't work. It seems that with tomcat 5.0 you can't point a context's docBase to something

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

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]

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 Context element in conf/Catalina/[host]/WebMail2.xml: Context docBase=WebMail / (Include whatever