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 2188A63CE for ; Thu, 14 Jul 2011 01:29:14 +0000 (UTC) Received: (qmail 54135 invoked by uid 500); 14 Jul 2011 01:29:13 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 54101 invoked by uid 500); 14 Jul 2011 01:29:13 -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 54094 invoked by uid 99); 14 Jul 2011 01:29:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2011 01:29:12 +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; Thu, 14 Jul 2011 01:29:07 +0000 Received: by wwe6 with SMTP id 6so6185867wwe.31 for ; Wed, 13 Jul 2011 18:28:46 -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=IhNfI4iOxD3LselZLbLVEF7n6aZ/p9uZLqnaRExRxb8=; b=QAgUKtkT15j8oiLEzZtcNbjWDC8mFN4+LLkpe+mDThV/xmuL1rvTmJyIdG3n2s4kdK ngk4leGfb9qPLQHvYIGWhwVo4JroEyPd8lcwYoxqF7abUh67R/aG8HbQOjhD/3H4p0T9 7JyyVs7h3UmydestNx5Kr+W80z8rQ3h+WRjjk= MIME-Version: 1.0 Received: by 10.216.197.96 with SMTP id s74mr1566897wen.21.1310606926054; Wed, 13 Jul 2011 18:28:46 -0700 (PDT) Received: by 10.216.30.198 with HTTP; Wed, 13 Jul 2011 18:28:45 -0700 (PDT) In-Reply-To: <1310606688613-3167853.post@n3.nabble.com> References: <145934CE-DA83-40EB-9B15-8002862B23A4@gmail.com> <1310418579723-3160476.post@n3.nabble.com> <1310450415638-3161489.post@n3.nabble.com> <1310494463246-3163389.post@n3.nabble.com> <1310525869509-3164614.post@n3.nabble.com> <1310606688613-3167853.post@n3.nabble.com> Date: Thu, 14 Jul 2011 09:28:45 +0800 Message-ID: Subject: Re: shared lib classloader XStream Jettison issue From: Ivan To: user@geronimo.apache.org Content-Type: multipart/alternative; boundary=0016e6dd863c4485fd04a7fd74ac --0016e6dd863c4485fd04a7fd74ac Content-Type: text/plain; charset=ISO-8859-1 You might need to deploy the jar file as those common java ee applications :-) 2011/7/14 ashwin nair > Hi, > I created as jar file as you suggested under > GERONIMO_HOME/repository/aswin/sharedlib/1.0/sharedlib-1.0.jar which has a > META-INF folder in it with the content you mentioned and changed the > dependency as follows. > > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"> > > > Test > test-CORE-ear > 1.0 > > > > aswin > sharedlib > 1.0 > jar > > > org.apache.geronimo.configs > tomcat6 > car > > > > But I am getting Classnotfound exceptions for my servlets and such are not > getting loaded. I put a breakpoint in the > org.apache.geronimo.system.sharedlib.SharedLib and am not seeing the > configured path showing up, so I am guessing that my changes are not > getting > picked up. > > How do I configure the module, do I need to do anything in config.xml > (GERONIMO_HOME/var/config/config.xml) but am getting errors saying it > cannot > find the path? > > -- > View this message in context: > http://apache-geronimo.328035.n3.nabble.com/shared-lib-classloader-XStream-Jettison-issue-tp3150142p3167853.html > Sent from the Users mailing list archive at Nabble.com. > -- Ivan --0016e6dd863c4485fd04a7fd74ac Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You might need to deploy the jar file as those common java ee applications = :-)=A0

2011/7/14 ashwin nair <matrixnair@gmail.com&= gt;
Hi,
=A0 =A0I created as jar file as you suggested under
GERONIMO_HOME/repository/aswin/sharedlib/1.0/sharedlib-1.0.jar which has a<= br> META-INF folder in it with the content you mentioned and changed the
dependency as follows.

<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>Test</dep:groupId>
=A0 =A0 =A0 =A0 <dep:artifactId>test-CORE-ear</dep:artifactId>=
=A0 =A0 =A0 =A0 <dep:version>1.0</dep:version&g= t;
=A0 =A0 =A0</dep:moduleId>
=A0 =A0 =A0<dep:dependencies>
=A0 =A0 =A0 =A0 <dep:dependency>
=A0 =A0 =A0 =A0 =A0 =A0<dep:groupId>aswin</dep:groupId><= br>
=A0 =A0 =A0 =A0 =A0 =A0<dep:artifactId>sharedlib&l= t;/dep:artifactId>
=A0 =A0 =A0 =A0 =A0 =A0<dep:version>1.0</= dep:version>
=A0 =A0 =A0 =A0 =A0 =A0<dep:type>jar</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>tomcat6</dep:artifactId>= ;
=A0 =A0 =A0 =A0 =A0 =A0<dep:type>car</dep:type>
=A0 =A0 =A0 =A0 </dep:dependency>


But I am getting Classnotfound exceptions for my servlets and such ar= e not
getting loaded. =A0I put a breakpoint in the
org.apache.geronimo.system.sharedlib.SharedLib and am not seeing the
configured path showing up, so I am guessing that my changes are not gettin= g
picked up.

How do I configure the module, do I need to do anything in config.xml
(GERONIMO_HOME/var/config/config.xml) but am getting errors saying it canno= t
find the path?

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



--
Ivan
--0016e6dd863c4485fd04a7fd74ac--