Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 18903 invoked from network); 16 Sep 2009 12:21:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Sep 2009 12:21:21 -0000 Received: (qmail 49523 invoked by uid 500); 16 Sep 2009 12:21:17 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 49456 invoked by uid 500); 16 Sep 2009 12:21:17 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 49445 invoked by uid 99); 16 Sep 2009 12:21:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 12:21:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [202.56.229.153] (HELO btsledge-del-01.bhartitelesoft.com) (202.56.229.153) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 12:21:06 +0000 Received: from btslcas-del-01.bhartitelesoft.com (172.16.1.27) by btsledge-del-01.bhartitelesoft.com (192.168.1.12) with Microsoft SMTP Server (TLS) id 8.0.730.1; Wed, 16 Sep 2009 17:50:40 +0530 Received: from BTSLMAIL.bhartitelesoft.com ([172.16.1.28]) by btslcas-del-01.bhartitelesoft.com ([172.16.1.27]) with mapi; Wed, 16 Sep 2009 17:51:05 +0530 From: "Ningappa Koneri" To: Tomcat Users List , "pid@pidster.com" Date: Wed, 16 Sep 2009 17:51:02 +0530 Subject: RE: Question on allowLinking Thread-Topic: Question on allowLinking Thread-Index: Acohcaw3TqiFWBd9ThC9yElsNkNoMAVVNJPQ Message-ID: References: <4E216AA1EA549445946D2E19E64ED1AD069F1A8F66@BTSLMAIL.bhartitelesoft.com> <4A8D0B6D.5090309@pidster.com> In-Reply-To: <4A8D0B6D.5090309@pidster.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Pid, Thanks for your reply and sorry for the delayed ack. Basically we are creating a softlink to a directory (containing some sound = files quite large in size) inside the webapps/project/jsp which we don't wa= nt to put directly under the application's project directory. Is there any other settings I need to follow to instruct the tomcat not to = delete the softlink contents ? Thanks & Regards, Ningappa Koneri mLifestyle | www.comviva.com -----Original Message----- From: Pid [mailto:pid@pidster.com] Sent: Thursday, August 20, 2009 2:08 PM To: users@tomcat.apache.org Subject: Re: Question on allowLinking On 20/08/2009 07:52, Nachiketh G Rao wrote: > Hi, > I had a query regarding Tomcat 6.X. We are developing a web application w= hich will be using soft-links for files on a the server. To do this we have= set allowLinking property to true in the "context.xml" configuration. We h= ave observed that, upon un-deploying the .war file by deleting it from the = webapps directory, all the contents under the soft link get deleted as well= ! We do not want this to happen, how do we ensure that only the soft link i= nside the .war file gets deleted. What are you linking, exactly, that needs to be inside the web application directory? If it's just images and styles, (for example), you should make them available via a URL external to the application itself. You could use a multi-level war file to make the URLs appear inside the app's URL space. myapp.war > /myapp/ myapp#scripts.war > /myapp/scripts/ Tomcat *will* remove the contents of the deployed directory when you undeploy it, this is intentional - otherwise how could you update an application? p > Regards, > Nachiketh > > ________________________________ > This e-mail and all material transmitted with it are for the use of the i= ntended recipient(s) ONLY and contains confidential and/or privileged infor= mation. If you are not the intended recipient, please contact the sender by= reply e-mail and destroy all copies and the original message. Any unauthor= ized review, use, disclosure, dissemination, forwarding, printing or copyin= g of this email or any action taken pursuant to the contents of the present= e-mail is strictly prohibited and is unlawful. > The recipient acknowledges that Comviva Technologies Limited or its manag= ement or directors, are unable to exercise control or ensure the integrity = over /of the contents of the information contained in e-mail. Any views exp= ressed herein are those of the individual sender only and no binding nature= of the contents shall be implied or assumed unless the sender does so expr= essly with due authority of Comviva Technologies Limited. E-mail and any co= ntents transmitted with it are prone to viruses and related defects despite= all efforts to avoid such by Comviva Technologies Limited. > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org This e-mail and all material transmitted with it are for the use of the int= ended recipient(s) ONLY and contains confidential and/or privileged informa= tion. If you are not the intended recipient, please contact the sender by r= eply e-mail and destroy all copies and the original message. Any unauthoriz= ed review, use, disclosure, dissemination, forwarding, printing or copying = of this email or any action taken pursuant to the contents of the present e= -mail is strictly prohibited and is unlawful. The recipient acknowledges that Comviva Technologies Limited or its managem= ent or directors, are unable to exercise control or ensure the integrity ov= er /of the contents of the information contained in e-mail. Any views expre= ssed herein are those of the individual sender only and no binding nature o= f the contents shall be implied or assumed unless the sender does so expres= sly with due authority of Comviva Technologies Limited. E-mail and any cont= ents transmitted with it are prone to viruses and related defects despite a= ll efforts to avoid such by Comviva Technologies Limited. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org