Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 22774 invoked from network); 24 Sep 2008 03:15:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Sep 2008 03:15:26 -0000 Received: (qmail 27073 invoked by uid 500); 24 Sep 2008 03:15:11 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 27053 invoked by uid 500); 24 Sep 2008 03:15:11 -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 27041 invoked by uid 99); 24 Sep 2008 03:15:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2008 20:15:11 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 125.21.183.230 is neither permitted nor denied by domain of sprasad4@sapient.com) Received: from [125.21.183.230] (HELO DELHUB1.sapient.com) (125.21.183.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Sep 2008 03:14:12 +0000 Received: from BANGHUB1.sapient.com (10.209.1.11) by DELHUB1.sapient.com (10.210.55.18) with Microsoft SMTP Server (TLS) id 8.1.291.1; Wed, 24 Sep 2008 08:44:19 +0530 Received: from BANGMAIL.sapient.com ([fe80::8c25:b376:1ab9:44f9]) by BANGHUB1.sapient.com ([fe80::4527:3103:55eb:7ba9%12]) with mapi; Wed, 24 Sep 2008 08:44:18 +0530 From: Shreekanta Prasad To: Tomcat Users List Date: Wed, 24 Sep 2008 08:44:17 +0530 Subject: RE: How to "manually" undeploy a webapp in tomcat ? Thread-Topic: How to "manually" undeploy a webapp in tomcat ? Thread-Index: AckduZtP6A4rXaY0S2i9OQMznSabyQAOXMKw Message-ID: <630DB083F2C69042851DB732B9FA5521016D63045C@BANGMAIL.sapient.com> References: <20080923221046.235qyoji0w0g4cso@webmail.ema.fr> In-Reply-To: <20080923221046.235qyoji0w0g4cso@webmail.ema.fr> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Albrecht, If you delete folder under work directory nothing happens just= go ahead. After deploying new war file it will be created afresh. In work = folder uasually we have run time compiled jsp class files or some libraries= . Thanks and Regards - Shreekanta Prasad Bangalore,India. -----Original Message----- From: albrecht andrzejewski [mailto:albrecht.andrzejewski@ema.fr] Sent: Wednesday, September 24, 2008 1:41 AM To: Tomcat Users List Subject: How to "manually" undeploy a webapp in tomcat ? Hi everyone, My question is simple: when i was upgrading a webapp, i used to stop tomcat, replace my old war file with the new one using some unix command, and re start the tomcat server. But i noticed that the files under /catalina_home/work/Catalina/localhost/nameofwebapp/ are not updated when tomcat redeploy the new war file, causing my context.xml to be deprecated. It is especially unfair because my context.xml contain my jndi ressources, and it cannot more access neither the mail, neither the database... Is there any "proper" solution to undeploy manually a webapp ( i don't want to use the manager webapp). And I don't know how to use Ant - so i would prefer a unix-shell-only solution. I think about deleting all the files under /Catalina/localhost/nameofwebapp/ but i'm afraid to miss something. Thanks. -- Albrecht ANDRZEJEWSKI Cr=E9ateur - Incubateur Technologique SITE-EERIE - Parc scientifique G. Besse ---------------------------------------------------- Ce message a ete envoye par le serveur IMP de l'EMA. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org