Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 95180 invoked from network); 4 Feb 2004 19:13:06 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Feb 2004 19:13:06 -0000 Received: (qmail 29289 invoked by uid 500); 4 Feb 2004 19:11:52 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 29248 invoked by uid 500); 4 Feb 2004 19:11:52 -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 28945 invoked from network); 4 Feb 2004 19:11:49 -0000 Received: from unknown (HELO expredir2.cites.uiuc.edu) (128.174.5.185) by daedalus.apache.org with SMTP; 4 Feb 2004 19:11:49 -0000 Received: from shalom.cso.uiuc.edu (shalom.cso.uiuc.edu [130.126.112.169]) by expredir2.cites.uiuc.edu (8.12.10/8.12.10) with ESMTP id i14JBmR4002611 for ; Wed, 4 Feb 2004 13:11:48 -0600 (CST) Date: Wed, 4 Feb 2004 13:11:48 -0600 (CST) From: Milt Epstein X-X-Sender: mepstein@shalom.cso.uiuc.edu To: Tomcat Users List Subject: RE: Tomcat Loads Deleted Context? In-Reply-To: <000401c3eb45$454cfcd0$7202a8c0@stbedm.silvacom.com> Message-ID: References: <000401c3eb45$454cfcd0$7202a8c0@stbedm.silvacom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Wed, 4 Feb 2004, Yansheng Lin wrote: > Yes, that context descriptor(deleted.xml) still exists under that > directory!!! And after deleting it, tomcat doesn't load the > particular webapp anymore. But I still think this is a possible > bug. Since the expected behaviour is not to load anything anymore > for a deleted webapp. Yes, but the question is, what constitutes a webapp being deleted? And the answer, I think, depends on how you have Tomcat configured (e.g., in terms of auto-deployment of webapps). I'd say that if you're using a context configuration file, that's part of the webapp. And if you haven't deleted it, you haven't really deleted the webapp. > I removed the for that webapp in > conf/server.xml. Hmmm -- you had a element for this webapp in server.xml *and* a separate context configuration file? That's redundant, because they serve the same purpose. I'm not sure what would happen in that case -- were you per chance seeing your webapp starting up twice? > And the deleted project directory is located > outside of TOMCAT default webapps/ dir... . Which means there has to be some element inside Tomcat's configuration (either in server.xml or a separate context configuration file) that lets Tomcat know about it. And until you delete that element, you haven't deleted the webapp. That's my take on it, at least :-). > -----Original Message----- > From: Milt Epstein [mailto:mepstein@uiuc.edu] > Sent: Wednesday, February 04, 2004 9:40 AM > To: Tomcat Users List > Subject: Re: Tomcat Loads Deleted Context? > > > Here is the console output when deploying tomcat: > > Feb 4, 2004 8:14:19 AM org.apache.catalina.core.StandardHostDeployer install > > INFO: Processing Context configuration file URL > > file:C:\Web\ApacheGroup\Tomcat\conf\Catalina\localhost\deleted.xml > > Does this file still exist? If so, that could be your problem. (That > is the context configuration file for the deleted webapp.) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > Milt Epstein Research Programmer Integration and Software Engineering (ISE) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) mepstein@uiuc.edu --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org