Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 92785 invoked from network); 17 Oct 2004 14:55:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Oct 2004 14:55:25 -0000 Received: (qmail 93954 invoked by uid 500); 17 Oct 2004 14:54:11 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 93814 invoked by uid 500); 17 Oct 2004 14:54:11 -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 93801 invoked by uid 99); 17 Oct 2004 14:54:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [66.235.180.72] (HELO sls-dc1p2.dca2.superb.net) (66.235.180.72) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 17 Oct 2004 07:54:09 -0700 Received: from [192.168.37.163] (adsl-209-233-18-245.dsl.snfc21.pacbell.net [209.233.18.245]) (authenticated bits=0) by sls-dc1p2.dca2.superb.net (8.12.10/8.12.10) with ESMTP id i9HF0f6I018440 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 17 Oct 2004 08:00:43 -0700 Message-ID: <41728784.2030203@gluecode.com> Date: Sun, 17 Oct 2004 07:53:56 -0700 From: Jeremy Boynes User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: JSTL Broken References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Aaron Mulder wrote: > So our JettyClassLoader denies any requests starting with "javax". > Unfortunately, this appears to break the JSTL, which includes a JAR with > javax.servlet.jsp.jstl.* packages. That breaks Spring, which is blowing > up trying to load the LocalizationContext class from the JSTL when you use > a JSTL view for Spring. > > I guess we need to include the JSTL classes as part of Geronimo? > In the mean time, I'm going to disable the "javax" restriction, so I can > continue to package it in my WAR. > SRV.9.7.2 basically says we should not allow applications to override things in the java.* and javax.* namespaces. On other hand, JSTL is not an API required by the spec. I think that we are being too conservative here. Better logic might be to search for java and container classes in the parent classloader first and the war second, and all other classes in the war first and the parent second. This would prevent the war overriding container classes but would still it to use versions it supplied if the container did not have them. --- Jeremy