Re: sym link to serve documents within web application.

2008-03-07 Thread Yuval Perlov
is needed. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2008 06:48 AM To: Tomcat Users List Subject: Re: sym link to serve documents within web application. Christopher Schultz wrote: David, Maffitt, David wrote: | We have a different problem with this. T

RE: sym link to serve documents within web application.

2008-03-07 Thread Maffitt, David
should treat soft links like the OS does and just delete the link. Perhaps another attribute like 'deleteLinksRecursively' is needed. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2008 06:48 AM To: Tomcat Users List Subject: Re: sym lin

Re: sym link to serve documents within web application.

2008-03-07 Thread Mark Thomas
Christopher Schultz wrote: David, Maffitt, David wrote: | We have a different problem with this. Tomcat will follow the link | and delete the contents of the linked-to directory when the app is | redeployed. We have to be sure that the link is deleted before | redeploying. Not a problem if one

Re: sym link to serve documents within web application.

2008-03-06 Thread Daniel Stephens
Thanks David, we found my misconfiguration about 30 minutes after I posted.. But I'm glad you brought up the redeploying issue. I didn't even think about that. So I guess I'll be adding some documentation to that piece. Thanks for your replies.. Danny On Thu, Mar 6, 2008 at 4:47 PM, Christopher S

Re: sym link to serve documents within web application.

2008-03-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, Maffitt, David wrote: | We have a different problem with this. Tomcat will follow the link | and delete the contents of the linked-to directory when the app is | redeployed. We have to be sure that the link is deleted before | redeploying. No

RE: sym link to serve documents within web application.

2008-03-06 Thread Maffitt, David
Yes, we are doing this successfully. (Linux, java 1.5.0_11, tomcat 5.5.23). As you suggest, you have to set allowLinking="true" attribute in the context element in the webapp's META-INF/context.xml file We have a different problem with this. Tomcat will follow the link and delete the contents