Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 10600 invoked from network); 2 Mar 2001 18:59:45 -0000 Received: from mercury.sun.com (192.9.25.1) by h31.sny.collab.net with SMTP; 2 Mar 2001 18:59:45 -0000 Received: from centralmail1.Central.Sun.COM ([129.147.62.10]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id KAA29317 for ; Fri, 2 Mar 2001 10:59:47 -0800 (PST) Received: from esun1as-mm. (esun1as-mm.Central.Sun.COM [129.147.34.144]) by centralmail1.Central.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id LAA05269 for ; Fri, 2 Mar 2001 11:59:46 -0700 (MST) Received: from eng.sun.com by esun1as-mm. (SMI-8.6/SMI-SVR4) id MAA16485; Fri, 2 Mar 2001 12:00:38 -0700 Message-ID: <3A9FEE31.66A27F03@eng.sun.com> Date: Fri, 02 Mar 2001 11:02:09 -0800 From: "Craig R. McClanahan" X-Mailer: Mozilla 4.76 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: Re: Tomcat 4 unpacking of WAR files behavior References: <3A9E6047.EF163B03@voyager.apg.more.net> <00b601c0a289$66070810$82deb018@intalio.com> <3A9EBBE9.476C160C@voyager.apg.more.net> <011101c0a296$ccf6bbd0$82deb018@intalio.com> <3A9EC46D.8F037022@voyager.apg.more.net> <016001c0a29c$11b64650$82deb018@intalio.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Remy Maucherat wrote: > > Remy, > > > > What I am trying to do is start a discussion of _what_ the behaviour > should be, > > so it can be fixed. I already consider the current behaviour to be broken. > > I'm mixed on the subject. Craig implemented it that way, so I want to hear > his opinion on the subject. > The original rationale for the current behavior was/is a very common user error with Tomcat 3.x -- it goes like this: * User drops a WAR file into "webapps" and restarts Tomcat * Tomcat auto-expands the WAR and runs fine * User updates the app, drops in an updated WAR, and restarts Tomcat * Tomcat sees the expanded directory, and does NOT auto-expand * User files a bug report "Tomcat does not reload my updated classes" :-( I'm open to suggestion for different behavior, but keep this scenario in mind. > > > For example deploying a war on starutp, then undeploying it on shutdown > > adds unnecessary overhead to the tomcat start/stop processing. This would > > be a huge issue in a hosting environment where you might have 100's of war > > files. > > Yes sure. I think the best would be not to unpack the WARs (it's a lot > cleaner). > +1, as long as we can keep performance reasonable. > > Remy > Craig