Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 34627 invoked from network); 4 Sep 2006 17:56:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Sep 2006 17:56:50 -0000 Received: (qmail 86581 invoked by uid 500); 4 Sep 2006 17:56:47 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 86370 invoked by uid 500); 4 Sep 2006 17:56:46 -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 86359 invoked by uid 99); 4 Sep 2006 17:56:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2006 10:56:46 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jason.dillon@gmail.com designates 64.233.162.202 as permitted sender) Received: from [64.233.162.202] (HELO nz-out-0102.google.com) (64.233.162.202) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2006 10:56:45 -0700 Received: by nz-out-0102.google.com with SMTP id v1so946277nzb for ; Mon, 04 Sep 2006 10:56:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=MD8bku4kYaS5ZauzVMybMOkScG9pttOaMeUs9Oz7nJvb/+ol9ticDf6CQp4PibxNGgzsYchf20HQ72NYCY/w//26lZRT8EyxxYdC/8kL9lZbIK6HBYHtcRsPrgmVIu/6w6nXxwzvyx0E87rctO6CXwmriECvS4+PC8UO/ZS2rok= Received: by 10.65.126.4 with SMTP id d4mr4829255qbn; Mon, 04 Sep 2006 10:56:25 -0700 (PDT) Received: from ?10.0.1.4? ( [24.7.69.241]) by mx.gmail.com with ESMTP id f17sm3874663qba.2006.09.04.10.56.24; Mon, 04 Sep 2006 10:56:24 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <491121F8-81BD-40F5-A706-152982C33D23@iq80.com> References: <20060825234447.77747.qmail@web31710.mail.mud.yahoo.com> <4369f0ce0608261741n4ab7b50ao7032ffea7e3c735@mail.gmail.com> <491121F8-81BD-40F5-A706-152982C33D23@iq80.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7714E005-3F13-44B6-A3D6-14E40C9B3EE9@planet57.com> Content-Transfer-Encoding: 7bit From: Jason Dillon Subject: Re: Endorsed dirs Date: Mon, 4 Sep 2006 10:56:22 -0700 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.752.2) Sender: Jason Dillon X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Yup, it definitely is not happy if these jars are not on the classpath. --jason On Aug 28, 2006, at 10:03 AM, Dain Sundstrom wrote: > IIRC you will get exceptions on a 1.4 JVM if xerces is not > available since the local attribute manager uses a few custom > xerces properties. > > -dain > > On Aug 27, 2006, at 10:47 PM, Jason Dillon wrote: > >> I guess we could try omitting the xerces jars from the classpath >> of server.jar and see if it works or not... >> >> --jason >> >> >> On Aug 26, 2006, at 5:41 PM, Heinz Drews wrote: >> >>> Everything loaded from directories specified by >>> -Djava.endorsed.dirs={dirlist} is loaded by the bootstrap >>> classloader. >>> The documentation in Tomcat indicates that the endorsed dirs are >>> managed differently. But the classes are visible in a classloader. >>> >>> On 8/26/06, David Jencks wrote: >>>> IIRC Tomcat needs this stuff set only for validation: it doesn't >>>> actually do _anything_ with the endorsed directories or their >>>> contents to set up or influence any classloaders. >>>> >>>> I think someone needs to do some experiments to determine: >>>> - if the jars in endorsed need to be added explicitly to some >>>> classloader >>>> - if that classloader has to be the system (?? application?? >>>> boot??????) classloader or if any classloader that includes a >>>> jar in >>>> endorsed gets to use the stuff in the jar in preference to the >>>> stuff >>>> in the jvm. >>>> >>>> My unvalidated impression agrees with Dain >>>> >>>> thanks >>>> david jencks >>>> >>>> On Aug 25, 2006, at 7:44 PM, anita kulshreshtha wrote: >>>> >>>> > IIRC, The tomcat container needs to be started with >>>> > java.endorsed.dirs system property set to a dir where the xerces >>>> > parser >>>> > is available. It uses the endorsed dir mechanism to override the >>>> > default parser. The server manifest.mf contains an entry >>>> > Endorsed-Dirs: lib/endorsed >>>> > which is used by Deamon (read by CommandLineManifest) to set >>>> this >>>> > property before starting Geronimo. It should have been enough, >>>> but it >>>> > seems we have been adding it to the classpath also. I do not >>>> know if >>>> > this property is used by anyone else. >>>> > >>>> > Thanks >>>> > Anita >>>> > >>>> > --- Dain Sundstrom wrote: >>>> > >>>> >> IIRC, they have to be on the classpath. >>>> >> >>>> >> -dain >>>> >> >>>> >> On Aug 25, 2006, at 12:21 PM, Jason Dillon wrote: >>>> >> >>>> >>> Anyone know if the jars in the endorsed dir need to be added >>>> to the >>>> >> >>>> >>> classpath... or will the jvm just suck up all *.jar files >>>> and load >>>> >> >>>> >>> them anyways? >>>> >>> >>>> >>> Was just wondering that if that is the case, and we add them >>>> to the >>>> >> >>>> >>> classpath, does that just waste bytes for an unused classloader >>>> >> and/ >>>> >>> or slow down the initial boot? >>>> >>> >>>> >>> --jason >>>> >> >>>> >> >>>> > >>>> > >>>> > __________________________________________________ >>>> > Do You Yahoo!? >>>> > Tired of spam? Yahoo! Mail has the best spam protection around >>>> > http://mail.yahoo.com >>>> >>>> >