Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 19178 invoked from network); 3 Dec 2002 17:27:04 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 3 Dec 2002 17:27:04 -0000 Received: (qmail 17228 invoked by uid 97); 3 Dec 2002 17:27:41 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 17170 invoked by uid 97); 3 Dec 2002 17:27:40 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 17154 invoked by uid 98); 3 Dec 2002 17:27:39 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Tue, 3 Dec 2002 09:26:20 -0800 (PST) From: "Craig R. McClanahan" To: Tomcat Users List Subject: Re: TC 4.1.12 auto re-deploy problem/confusion In-Reply-To: <5.1.1.6.0.20021203092710.00a80080@mail.lig.bellsouth.net> Message-ID: <20021203092549.F16000-100000@icarus.apache.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tue, 3 Dec 2002, Mark wrote: > Date: Tue, 03 Dec 2002 10:07:29 -0500 > From: Mark > Reply-To: Tomcat Users List > To: tomcat-user@jakarta.apache.org > Subject: TC 4.1.12 auto re-deploy problem/confusion > > I have an expanded-war app where it will initially auto-deploy (ie. expand > the directories under /webapps), but not able to get it to hot redeploy > after changes are made. By 'hot', I mean automatically have a new.war file > re-expanded without restarting Tomcat. > > If I make changes to the app and create a new.war file, the only way I can > get it to re-deploy is if I remove the existing directory under webapps > then shutdown/restart Tomcat. If I delete the directory and move a new > .war file into /webapps while TC is running, it's not automatically > expanded. I've tried removing the app via the TC manager first, but it > still won't auto-deploy. If I simply rename the .war file while it's in the > /webapps directory, it's immediately deployed with the new directory name > w/o restarting TC. In a nutshell, if I use the same .war name, it won't > redeploy unless I restart TC. I'm using the out-of-the-box server.xml, > where unpackWARs="true" and autoDeploy="true" for localhost. > > Is there no way to 'hot' deploy an existing app the way I'd like without > restarting Tomcat? I've looked at the documentation and searched the > archives/Internet. In almost all cases, the last step is to 'restart > Tomcat'. My goal is to have automatic continuous-integration, including > auto-deployment. Having to manually restart TC each time throws a wrench > into that process. > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html > Thanks > Mark Craig -- To unsubscribe, e-mail: For additional commands, e-mail: