Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 51301 invoked from network); 4 May 2006 06:21:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 May 2006 06:21:44 -0000 Received: (qmail 39847 invoked by uid 500); 4 May 2006 06:21:41 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 39802 invoked by uid 500); 4 May 2006 06:21:41 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 39791 invoked by uid 99); 4 May 2006 06:21:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 May 2006 23:21:41 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ammulder@gmail.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 May 2006 23:21:40 -0700 Received: by py-out-1112.google.com with SMTP id e30so437074pya for ; Wed, 03 May 2006 23:21:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=E0JiFndy1xM1oVpTsz0KDspsqFnNYDH3tsSpbPW+4sNVQzcyJxIvZ0HVN7fW4cbfJ8rpkyppftU3IXDwlcneXNUHb05sY1K/DxD4avj/hdSZKQslIb1zR6aoK3CcsIL1KKwV23M0fqUBWAkEA+cSwBm8Ks1sX3Isi0XSsWKUkws= Received: by 10.35.43.10 with SMTP id v10mr609489pyj; Wed, 03 May 2006 23:21:19 -0700 (PDT) Received: by 10.35.91.20 with HTTP; Wed, 3 May 2006 23:21:19 -0700 (PDT) Message-ID: <74e15baa0605032321q22454e7dvd1a02a107cec455@mail.gmail.com> Date: Thu, 4 May 2006 02:21:19 -0400 From: "Aaron Mulder" Sender: ammulder@gmail.com To: dev@geronimo.apache.org Subject: Re: JarFileClassLoader In-Reply-To: <535BD0D8-17EE-4584-8AB7-1BB449DC0D4A@iq80.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <535BD0D8-17EE-4584-8AB7-1BB449DC0D4A@iq80.com> X-Google-Sender-Auth: 9d056159ec36bd51 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This sounds pretty nice. I'm not sure I have the will to set up a Geronimo environment on Windows to try it, but it would be really cool if we avoided all the file locking problems caused by the jar handling there. :) Thanks, Aaron On 5/3/06, Dain Sundstrom wrote: > I added a new optional class loader to 1.1 which should fix our file > lock problem on Windows. To enable the class loader use the > following command line option: > > -DXorg.apache.geronimo.NewClassLoader=3Dtrue > > If the class loader actually solves the problem, and passes the TCK > we can make it the default. > > If you are a Windows user, please try it out and report any remaining > file lock problems. > > If you have some free time please take a look at the code. This type > of code needs lots of eyes on it. The code is located at branches/ > 1.1/modules/kernel/src/java/org/apache/geronimo/kernel/classloader. > I suggest you start with JarFileClassLoader, but the real file > management code is in JarFileResourceFinder. > > -dain >