From user-return-15663-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Tue Jul 12 00:56:10 2011 Return-Path: X-Original-To: apmail-geronimo-user-archive@www.apache.org Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3ED504E07 for ; Tue, 12 Jul 2011 00:56:10 +0000 (UTC) Received: (qmail 22529 invoked by uid 500); 12 Jul 2011 00:56:09 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 22468 invoked by uid 500); 12 Jul 2011 00:56:09 -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 22459 invoked by uid 99); 12 Jul 2011 00:56:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 00:56:08 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xhhsld@gmail.com designates 74.125.82.50 as permitted sender) Received: from [74.125.82.50] (HELO mail-ww0-f50.google.com) (74.125.82.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 00:56:03 +0000 Received: by wwe6 with SMTP id 6so4200104wwe.31 for ; Mon, 11 Jul 2011 17:55:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=zWRK8wnEr0Fs0winSp2klpBqbkwiLCAWZ3OGUiUbxQ0=; b=LXDZjqhqoKxWaogBIbNAVi+xAxSoXcvdeTVcJCjgt9h2TCpk5k45MuXlRcrpgpCkir ladMZ3esNYzo2qpVAu9KMn3eyi0EVIsg7klrMyUigGyjqIE2eC4Ldhlal7x7WgEClncg 7qJzFLmpkfwu9Qnw1L9IS7R0w7aSpLiw+7gZM= MIME-Version: 1.0 Received: by 10.216.234.98 with SMTP id r76mr3615807weq.36.1310432141930; Mon, 11 Jul 2011 17:55:41 -0700 (PDT) Received: by 10.216.87.195 with HTTP; Mon, 11 Jul 2011 17:55:41 -0700 (PDT) In-Reply-To: <1310418579723-3160476.post@n3.nabble.com> References: <145934CE-DA83-40EB-9B15-8002862B23A4@gmail.com> <1310418579723-3160476.post@n3.nabble.com> Date: Tue, 12 Jul 2011 08:55:41 +0800 Message-ID: Subject: Re: shared lib classloader XStream Jettison issue From: Ivan To: user@geronimo.apache.org Content-Type: multipart/alternative; boundary=000e0cd5168c5272e304a7d4c2c9 --000e0cd5168c5272e304a7d4c2c9 Content-Type: text/plain; charset=ISO-8859-1 The plan looks fine to me, so could you double check whether WEB-INF/libs is a typo error or not ? The simple way to verify it is, just print the classLoader of a class belongs to the filtered list. 2011/7/12 ashwin nair > The following is the deployment plan I am using. I am guessing that > somehow > this is not being honored, may be because of the config.ser for this module > in the GERONIMO_REPOSITORY/path/to/ear/META-INF/config.ser. Is there a way > to ensure that the values are not getting picked up from there? > > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"> > > > Ebay > XXXXX > 1.0 > > > > org.apache.geronimo.configs > tomcat6 > car > > > org.apache.geronimo.configs > sharedlib > car > > > > com.thoughtworks.xstream > org.codehaus.jettison > > > > cmosprovsvc > xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1"> > > > com.thoughtworks.xstream > org.codehaus.jettison > > > > > > > -- > View this message in context: > http://apache-geronimo.328035.n3.nabble.com/shared-lib-classloader-XStream-Jettison-issue-tp3150142p3160476.html > Sent from the Users mailing list archive at Nabble.com. > -- Ivan --000e0cd5168c5272e304a7d4c2c9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The plan looks fine to me, so could you double check whether WEB-INF/libs i= s a typo error or not ?=A0
The simple way to verify it is, just print t= he classLoader of a class belongs to the filtered list.

2011/7/12 ashwin nair <matrixnair@gmail.com>
The following is the deployment plan I am using. =A0I am guessing that some= how
this is not being honored, may be because of the config.ser for this module=
in the GERONIMO_REPOSITORY/path/to/ear/META-INF/config.ser. =A0Is there a w= ay
to ensure that the values are not getting picked up from there?

<application xmlns=3D"http://geronimo.apache.org/xml/ns/j= 2ee/application-2.0"
xmlns:dep=3D"http://geronimo.apache.org/xml/ns/deployment-1.2&= quot;>
=A0 <dep:environment>
=A0 =A0 =A0<dep:moduleId>
=A0 =A0 =A0 =A0 <dep:groupId>Ebay</dep:groupId>
=A0 =A0 =A0 =A0 <dep:artifactId>XXXXX</dep:artifactId>
=A0 =A0 =A0 =A0 <dep:version>1.0</dep:version>
=A0 =A0 =A0</dep:moduleId>
=A0 =A0 =A0<dep:dependencies>
=A0 =A0 =A0 =A0 <dep:dependency>
=A0 =A0 =A0 =A0 =A0 =A0<dep:groupId>org.apache.geronimo.configs</= dep:groupId>
=A0 =A0 =A0 =A0 =A0 =A0<dep:artifactId>tomcat6</dep:artifactId>= ;
=A0 =A0 =A0 =A0 =A0 =A0<dep:type>car</dep:type>
=A0 =A0 =A0 =A0 </dep:dependency>
=A0 =A0 =A0 =A0 <dep:dependency>
=A0 =A0 =A0 =A0 =A0 =A0<dep:groupId>org.apache.geronimo.configs</= dep:groupId>
=A0 =A0 =A0 =A0 =A0 =A0<dep:artifactId>sharedlib</dep:artifactId&= gt;
=A0 =A0 =A0 =A0 =A0 =A0<dep:type>car</dep:type>
=A0 =A0 =A0 =A0 </dep:dependency>
=A0 =A0 =A0</dep:dependencies>
=A0 =A0 =A0<dep:hidden-classes>
=A0 =A0 =A0 =A0 =A0<dep:filter>com.thoughtworks.xstream</dep:filt= er>
=A0 =A0 =A0 =A0 =A0<dep:filter>org.codehaus.jettison</dep:filter&= gt;
=A0 =A0 =A0</dep:hidden-classes>
=A0 </dep:environment>
=A0 <module>
=A0 =A0 =A0<web>cmosprovsvc</web>
=A0 =A0 =A0<web-app
xmlns=3D"http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.= 1">
=A0 =A0 =A0 =A0 =A0<dep:environment>
=A0 =A0 =A0 =A0 =A0 =A0 <dep:hidden-classes>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<dep:filter>com.thoughtworks.xstream&= lt;/dep:filter>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<dep:filter>org.codehaus.jettison<= /dep:filter>
=A0 =A0 =A0 =A0 =A0 =A0 </dep:hidden-classes>
=A0 =A0 =A0 =A0 </dep:environment>
=A0 =A0 =A0</web-app>
=A0 </module>


--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/shared-l= ib-classloader-XStream-Jettison-issue-tp3150142p3160476.html
Sent from the Users mailing list archive at Nabble.com.



--
Ivan
--000e0cd5168c5272e304a7d4c2c9--