Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 25261 invoked from network); 18 Feb 2005 18:22:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 Feb 2005 18:22:11 -0000 Received: (qmail 97198 invoked by uid 500); 18 Feb 2005 18:21:59 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 97155 invoked by uid 500); 18 Feb 2005 18:21:59 -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 Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 97142 invoked by uid 99); 18 Feb 2005 18:21:59 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO mgd.gluecode.com) (64.14.202.141) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 18 Feb 2005 10:21:58 -0800 Received: from [192.168.15.101] (69-160-150-15.vnnyca.adelphia.net [69.160.150.15]) (authenticated bits=0) by mgd.gluecode.com (8.12.10/8.12.10) with ESMTP id j1IILACW006735 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Fri, 18 Feb 2005 10:21:10 -0800 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <42162F80.9090704@toolazydogs.com> References: <20050218165959.45720.qmail@web20626.mail.yahoo.com> <42162F80.9090704@toolazydogs.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Dain Sundstrom Subject: Re: Endorsed dir in Tomcat Date: Fri, 18 Feb 2005 10:21:55 -0800 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.619.2) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Do people actually want to do that? Anyway, you can change the parser=20= if you want. The user just needs to pass the -Djava.endorsed.dirs=20 command line arg to the server. My new code simply appends our dir to=20= the system property, so users can always put their stuff first. Of=20 course they will have to add their parser to classpath, which is more=20 if an issue as our class path comes from the manifest, which can't be=20 overridden. Also, if you change the xml parser, you will no longer be=20= running a certified server (once we are certified) as the parser is=20 part of the J2EE tested binary. -dain -- Dain Sundstrom Chief Architect Gluecode Software 310.536.8355, ext. 26 On Feb 18, 2005, at 10:10 AM, Alan D. Cabrera wrote: > Virtually, it's a single endorsed dir anyway, no?=A0 Not sure how the=20= > mechanics of where the dirs are and how the system property is=20 > relevant to the issue of parser versions. > > > Regards, > Alan > > anita kulshreshtha wrote: > This should work for now. I am not sure if Tomcat > users will be unhappy if they could not use a parser > different than Geronimo. May be Jeff can comment on > this. > Thanks > Anita > --- Dain Sundstrom wrote: > > > Geronimo is required to ship xerces 2, and the only > way to get the JVM > to pick up the parser is to set the endorsed dir > system property and to > adding the xml parser to the manifest class path. > We now set the > system property in our main boot class based on a > manifest entry in the > startup jar. This allows us to control the setting > of the endorsed > property, without having to resort to a messy shell > script. > > Is there something else you want added to the > endorsed directory, or > something we need to do differently to make tomcat > happy? > > -dain > > -- > Dain Sundstrom > Chief Architect > Gluecode Software > 310.536.8355, ext. 26 > > On Feb 16, 2005, at 7:18 AM, Jeff Genender wrote: > > > I think there has been some discussion about a > > Geronimo-wide endorsed > > dir as there actually were some other parts of > > Geronimo (or supporting > > tools) that also required it. I think adc and > > dain were chatting > > about this not too long ago, so hopefully they can > > chime in on this. > > I definately would like them to comment here > > before we get a patch on > > this as we may just need to remove the endorsed > > setting code in the > > TomcatContainer and this may be fixed. > > > anita kulshreshtha wrote: > > Hi all (Jacek, Jeff), > The latest changes (rev 153934) to include > endorsed dir in lib and starting server.jar with > endorsed dirs option do not work. Currently > > Tomcat can > > not be started without deleting > lib\endorsed\xercesImpl...jar. Having an > > "endorsed" > > property is a good idea. But this is a tomcat > > feature > > and only tomcat should be started with endorsed > > dir > > option. If you want, I can submit a fix for this. > Regards > Anita > > __________________________________ Do you Yahoo!? > > Yahoo! Mail - > > Easier than ever with enhanced search. Learn > > more. > > http://info.mail.yahoo.com/mail_250 > > --=20 > Jeff Genender > http://geronimo.apache.org > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Easier than ever with enhanced search. Learn more. > http://info.mail.yahoo.com/mail_250 >