Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 55702 invoked from network); 20 Sep 2005 17:27:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Sep 2005 17:27:52 -0000 Received: (qmail 68155 invoked by uid 500); 20 Sep 2005 17:27:47 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 68111 invoked by uid 500); 20 Sep 2005 17:27:47 -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 68098 invoked by uid 99); 20 Sep 2005 17:27:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2005 10:27:47 -0700 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS,SUBJ_HAS_UNIQ_ID X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of davanum@gmail.com designates 66.249.82.202 as permitted sender) Received: from [66.249.82.202] (HELO xproxy.gmail.com) (66.249.82.202) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2005 10:27:55 -0700 Received: by xproxy.gmail.com with SMTP id i27so1237wxd for ; Tue, 20 Sep 2005 10:27:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=J9G6XMmxS+jr0BDZNqXTXoFhNxPyf69t2gLtj7qI9zh02h+hBaRYEYXbTIl/xlhi4T5SqgfNy9DikzxTSiisT6DXHjoIKYo8nDtQOWVZ2tUuuTxaEEDYGueyhEnX24AHWVQ9oEZAB6rgtP8UscKZJSSRbfPpjcWea9KWfEUt8HA= Received: by 10.70.37.9 with SMTP id k9mr2043552wxk; Tue, 20 Sep 2005 10:27:29 -0700 (PDT) Received: by 10.70.46.1 with HTTP; Tue, 20 Sep 2005 10:27:29 -0700 (PDT) Message-ID: <19e0530f0509201027701d7e2f@mail.gmail.com> Date: Tue, 20 Sep 2005 13:27:29 -0400 From: Davanum Srinivas Reply-To: dims@apache.org To: dev@geronimo.apache.org, kevan.miller@gmail.com, hr.aebcg@gmail.com Subject: Re: context-priority-classloader In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hossam, Did you pick up the SAAJ 1.3 jar(s) from JWSDP? thanks, dims On 9/20/05, Kevan Miller wrote: > I just had a look at a problem regarding context-priority-classloader > reported on the user mailing list (original post is copied below). Hossam= is > attempting to override the SAAJ 1.2 implementation with a SAAJ 1.3 > implementation (claims that this works under JBoss). Is this something wh= ich > should be supported? Geronimo has explicit checks which will prevent this= . > It's possible that a one line change could fix, but I'm not sure of all o= f > the implications. > =20 > Both the JettyClassLoader and the TomcatClassLoader prevent javax > classes/interfaces from being overridden by the context. Should the class > loaders allow "javax" packages/subpackages to be overridden? > =20 > Here's the current list of restrictions for each ClassLoader: > =20 > TomcatClassLoader: > java, javax, org/apache/geronimo, org/apache/jasper, > org/apache/tomcat, org/apache/naming, org/apache/catalina, org/xml, > org/w3c > =20 > JettyClassLoader: > java, javax, org/apache/geronimo, org/mortbay, org/xml, org/w3c > =20 > Are these lists correct? Anything missing? Anything which should be > removed? > =20 > --kevan > =20 > =20 > On 9/19/05, Hossam Karim wrote to > user@geronimo.apache.org : > >=20 > > Hello, > > I am using the following configuration: > > geronimo-1.0-M4, Java 1.5.0_04, Windows 2003 Server Enterprise > > My problem: > > I am trying to deploy a WAR with the following deployment plan > > (geronimo-web.xml): > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > xmlns=3D"http://geronimo.apache.org/xml/ns/web" > > configId=3D"emee/emee-message"> > > /emee-message=20 > > =20 > true > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > WEB-INF/lib contains saaj-api.jar and saaj-impl.jar, these are vers= ion > > 1.3 NOT 1.2 of SAAJ API, > > and I need to load these implementation not the one that comes with > > Geronimo, beacuse I need to call > > public static javax.xml.soap.MessageFactory > > newInstance(java.lang.String string) method. > > NoSuchMethodException is thrown when it is called, which means > Geronimo > > is using SAAJ not the one I > > provided. > >=20 > > Is there a way I can instruct Geronimo to load the my library? it > works=20 > > with JBOSS!! > >=20 > =20 > =20 --=20 Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform