Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 41863 invoked from network); 4 Apr 2007 19:36:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2007 19:36:01 -0000 Received: (qmail 85754 invoked by uid 500); 4 Apr 2007 19:36:05 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 85718 invoked by uid 500); 4 Apr 2007 19:36:05 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 85707 invoked by uid 99); 4 Apr 2007 19:36:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 12:36:05 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [68.142.206.241] (HELO smtp108.plus.mail.mud.yahoo.com) (68.142.206.241) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 04 Apr 2007 12:35:56 -0700 Received: (qmail 8129 invoked from network); 4 Apr 2007 19:35:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=iQ7gYufI1I5aTR/GUJHssJtQ5R8YiVB0OCrFTnoejqTwsbjKGBiui6nq9Qa2jvWpy3rq3767XsZQO0JW++j2IwSeRxplW8JNpD7hXRsgQHCMTMF7pjyjdpIFrGXwHysB0RFv3gTL70UXc8840PtGEwM75Pq1/Hnmdr8zm92N2Ec= ; Received: from unknown (HELO ?10.11.55.8?) (david_jencks@63.105.20.225 with plain) by smtp108.plus.mail.mud.yahoo.com with SMTP; 4 Apr 2007 19:35:35 -0000 X-YMail-OSG: fMN.6_MVM1kGLuYiECfATWHXh_8ko0_SWkk4GsCIhR2CSGBvPBgUHHtoyRIl91nfBe1UHLi.ZXXMaFTwGwcHwBKdjtpuGfXP.WOVPcgby6XRlRgRfjmCaSPifEw9i8IABuMS0A-- Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <9842737.post@talk.nabble.com> References: <9809417.post@talk.nabble.com> <46125069.5060602@pmb.mine.nu> <9842737.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <6AE9E90C-9AF0-4B5B-88F8-9B885CD59AF9@yahoo.com> Content-Transfer-Encoding: 7bit From: David Jencks Subject: Re: Library conflict Date: Wed, 4 Apr 2007 12:35:23 -0700 To: user@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org On Apr 4, 2007, at 11:23 AM, jgunz wrote: > > Is there any other way other than to create a new > classloader (say a URLClassLoader) within my GBean and only specify > the Jars > within my War file and then use that from there on out? > > I can create the URLClassLoader fine but I don't know how (and > don't think > there is a way) to replace the current/default classloader that's > running > with my new one. I don't want to stomp on the system wide > classloader I just > want to isolate my GBean so that it runs independent of the container. The only think that comes to my mind is to take the needed jars out of your war, install them in the geronimo repo, and put your gbean in a module (car file) that depends on those jars and only those jars (you'll also need the j2ee-system module for the gbean classes) Then you can have your geronimo-web.xml depend on this new module with your gbean in it. This will put the jars from the war lib dir in a parent classloader of the webapp classloader. hope this helps david jencks > > -- > View this message in context: http://www.nabble.com/Library- > conflict-tf3512229s134.html#a9842737 > Sent from the Apache Geronimo - Users mailing list archive at > Nabble.com. >