Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 552767364 for ; Mon, 1 Aug 2011 18:50:37 +0000 (UTC) Received: (qmail 25564 invoked by uid 500); 1 Aug 2011 18:50:33 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 25520 invoked by uid 500); 1 Aug 2011 18:50:33 -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 25511 invoked by uid 99); 1 Aug 2011 18:50:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2011 18:50:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [72.167.180.18] (HELO p3plex1out02.prod.phx3.secureserver.net) (72.167.180.18) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 01 Aug 2011 18:50:26 +0000 Received: (qmail 5242 invoked from network); 1 Aug 2011 18:50:05 -0000 Received: from unknown (HELO smtp.ex1.secureserver.net) (72.167.180.20) by p3plex1out02.prod.phx3.secureserver.net with SMTP; 1 Aug 2011 18:50:05 -0000 Received: from P3PW5EX1MB14.EX1.SECURESERVER.NET ([10.6.135.87]) by P3PW5EX1HT002.EX1.SECURESERVER.NET ([72.167.180.20]) with mapi; Mon, 1 Aug 2011 11:49:59 -0700 From: Bob DeRemer To: "users@tomcat.apache.org" Date: Mon, 1 Aug 2011 11:49:49 -0700 Subject: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment Thread-Topic: HOW TO: re-deploy or undeploy a webapp when additional files are added after initial deployment Thread-Index: AcxQessFFXbx+k6QSDaacNiY2RY4rg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_BD7102DA11F0E84FA6EBC1543E47127A162B6883P3PW5EX1MB14EX1_" MIME-Version: 1.0 --_000_BD7102DA11F0E84FA6EBC1543E47127A162B6883P3PW5EX1MB14EX1_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm running Tomcat 6.0.32 on Windows Server 2008 R2. I am running into a problem when managing our webapp via the Tomcat Manager= App. Specifically, if I add any files to our WEB-INF/extension directory = in the exploded WAR directory after the initial deployment, an undeploy fai= ls to completely remove our exploded webapp directory. It removes everythi= ng that was in the WAR, but leaves the manually added files. In addition, = if we attempt to deploy a new WAR when this skeleton directory is left, the= deploy says it's successful, but doesn't explode the new WAR. If anyone has any suggestions on how we can add files into the exploded web= app structure and still perform undeploy/re-deploy of our webapp, I would g= reatly appreciate it. Or, if there's a way to tell tomcat to completely re= move the directory - regardless of additional files/directories, that would= probably work, too. The only other options I can think of would be installing these dynamic ext= ensions outside the webapp, but that's not ideal since some of these extens= ions will be HTML/CSS content and we'd like to keep it all under the webapp= root. Thanks, Bob DeRemer Senior Director, Architecture and Development http://www.thingworx.com Skype: bob.deremer O: 717.505.7923 M: 717.881.3986 --_000_BD7102DA11F0E84FA6EBC1543E47127A162B6883P3PW5EX1MB14EX1_--