Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 61649 invoked from network); 2 Nov 2007 07:15:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Nov 2007 07:15:09 -0000 Received: (qmail 33844 invoked by uid 500); 2 Nov 2007 07:14:51 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 33836 invoked by uid 500); 2 Nov 2007 07:14:51 -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 33825 invoked by uid 99); 2 Nov 2007 07:14:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2007 00:14:50 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [69.147.95.78] (HELO smtp115.plus.mail.sp1.yahoo.com) (69.147.95.78) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 02 Nov 2007 07:14:53 +0000 Received: (qmail 83255 invoked from network); 2 Nov 2007 07:14:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:From:Subject:Date:To:X-Mailer; b=2p2D3UNMK6nOhu7yBGGZBs8bDlfTXzI8wpZlfVQ6Q2xMSBxrUoBtSscnDrljOUZBlq18/voHnCp7Ligs+GguULl9hjW1Zq0wQY9Gc3B7JD83w9/+RsQ6onmer0XISwbdqdhD6APNCVHOpeNyGccjQ7sUHRq5nQiHFarL/MN0RGg= ; Received: from unknown (HELO ?192.168.1.101?) (david_jencks@67.102.173.8 with plain) by smtp115.plus.mail.sp1.yahoo.com with SMTP; 2 Nov 2007 07:14:30 -0000 X-YMail-OSG: C_8vWuIVM1k24HHrZyp8iPzy4iZfGWEitIaR5aXv1hC8UgzO78O9A2.DtY3ICJ94FhkTBEbz0g-- Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <24039A7138B8FB4480B76DB3B939ACEE7CC861@hqfs1.interlacesystems.com> References: <24039A7138B8FB4480B76DB3B939ACEE7CC861@hqfs1.interlacesystems.com> Content-Type: multipart/alternative; boundary=Apple-Mail-6-932097252 Message-Id: <4C89BCF1-4A12-47C6-B5BC-EF8E9D7A7411@yahoo.com> From: David Jencks Subject: Re: GBean classloader and dependencies Date: Fri, 2 Nov 2007 00:14:21 -0700 To: user@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-6-932097252 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed On Nov 1, 2007, at 5:06 PM, Anil Arora wrote: > I have an issue now. I added some libraries using the sharedlib =20 > gbean. > > However, one of my classes that is in one of these libraries has a =20 > dependency of the jasper-jdt compiler in tomcat. I know that this =20 > is a module which I can reference, but I=92m not sure how. > > Do I put a dependency tag in the gbean definition? I tried this =20 > and this didn=92t seem to work. =46rom you previous post it looks like you added a dependency to the =20= shared lib configuration rather than adding a shared lib gbean to =20 your plan. There's no way to affect the parent classloaders of the =20 shared lib configuration, so you won't be able to get the jasper =20 compiler into that classloader. However if you add a shared llib gbean to your plan then you can get =20 the jasper stuff into your classloader by also adding a dependency on =20= the jasper config. If you are really sure you will never need a jsp =20 in your app you can try using a dependency on the jasper jar but you =20 are more likely to avoid problems if you add a dependency on the =20 jasper configuration. thanks david jencks > > > Thanks, > > Anil > > > > > > > > Anil Arora > > Interlace Systems > > 1900 S. Norfolk St. Suite 325 > > San Mateo, CA 94403-1511 > > W: (650) 574-1422 x110 > > F: (650) 574-1423 > > > > --Apple-Mail-6-932097252 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=WINDOWS-1252
On Nov 1, 2007, at = 5:06 PM, Anil Arora wrote:

I have an issue now.=A0 I added some libraries using the = sharedlib gbean.=A0

However, one of my classes that is in one of these = libraries has a dependency of the jasper-jdt compiler in tomcat.=A0 I = know that this is a module which I can reference, but I=92m not sure = how.=A0Do I put a = dependency tag in the gbean definition?=A0 =A0I tried this and this = didn=92t seem to = work.


=46rom you = previous post it looks like you added a dependency to the shared lib = configuration rather than adding a shared lib gbean to your plan.=A0 = There's no way to affect the parent classloaders of the shared lib = configuration, so you won't be able to get the jasper compiler into that = classloader.

However if you add a shared = llib gbean to your plan then you can get the jasper stuff into your = classloader by also adding a dependency on the jasper config.=A0 If you = are really sure you will never need a jsp in your app you can try using = a dependency on the jasper jar but you are more likely to avoid problems = if you add a dependency on the jasper configuration.

thanks
david = jencks

=A0

Thanks,

Anil

=A0

=A0

=A0

Anil Arora

Interlace Systems

1900 S. Norfolk = St.=A0 = Suite 325

San = Mateo, = CA W: (650) 574-1422 = x110F: (650) = 574-1423


<= /HTML>= --Apple-Mail-6-932097252--