Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 63180 invoked from network); 18 Jul 2003 13:19:12 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 18 Jul 2003 13:19:12 -0000 Received: (qmail 23084 invoked by uid 97); 18 Jul 2003 13:21:43 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 23077 invoked from network); 18 Jul 2003 13:21:43 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 18 Jul 2003 13:21:43 -0000 Received: (qmail 62173 invoked by uid 500); 18 Jul 2003 13:18:54 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 62114 invoked from network); 18 Jul 2003 13:18:54 -0000 Received: from unknown (HELO warhawk.mpi.com) (63.244.250.133) by daedalus.apache.org with SMTP; 18 Jul 2003 13:18:53 -0000 Received: from thunderbolt.mpi.com (thunderbolt.mpi.com [199.93.192.55]) by warhawk.mpi.com (Switch-2.2.6/Switch-2.2.6) with ESMTP id h6IDIC018310 for ; Fri, 18 Jul 2003 09:18:12 -0400 (EDT) Received: from US-VS1.corp.mpi.com ([199.93.195.20]) by thunderbolt.mpi.com (Switch-3.0.4/Switch-3.0.0) with ESMTP id h6IDIiVR018465 for ; Fri, 18 Jul 2003 09:18:51 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [5] hotfixes Date: Fri, 18 Jul 2003 09:18:47 -0400 Message-ID: <9C5166762F311146951505C6790A9CF834646E@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [5] hotfixes Thread-Index: AcNMzs4+ihR2NW4FSza686CS4n118AAXwz4w From: "Shapira, Yoav" To: "Tomcat Developers List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Howdy, >Currently o.a.c.startup.ClassLoaderFactory just does a standard directory >listing. It might be nice to have the directory listed sorted in some= >manner >so files with certain attributes might be loaded first. > >I was thinking of either >- sorting by date >- looking for hotfix-YYYY-MM-DDDD-hh-mm-ss.jar (or similar) first an= d >sorting those files by name so the newest ones get loaded first. > >Comments? There used to be servers that did this (IPlanet and JServ come to mind= , both using alphabetical sorting), and the amount of hassle that caused= to developers was huge. Even to date, I see developers who rely on ja= r loading order to resolve having two classes with the same name in the JVM. I don't think this is a good idea. In the case for a hotfix, I would rather see a new jar altogether, replacing an existing jar. Not an addition, not an expansion, nor some fancy overriding mechanism. It significantly increases classloading debugging capability ("which jar did this class really get loaded from?"). I also tend to not fully agree with your beginning premise: >One feature of enterprise ready software is the ability to apply smal= l >patches to an existing system. That's a nice to have, not essential, and a deterrent due to the above= reasoning in the worst case. I would consider tomcat enterprise-ready= now, without this feature per-se. Perhaps I'm misinterpreting what small patches are, though? Did you have examples in mind? I think it's the component owner's responsibility to provide the fix/patch, and to do so in the manner be= st fitting the component. In most java cases, I think that's an updated jar. If the fix requires many jars, then probably the product wasn't properly divided into modular jars to start with. I don't mean to sound extreme on this ;) I've heard far worse ideas. But I think for a general purpose server this causes more possible confusion and problems for users than it does good. Yoav Shapira This e-mail, including any attachments, is a confidential business com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, please immediately delete this e-mail from your computer system= and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org