Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 65610 invoked from network); 16 Aug 2006 05:03:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Aug 2006 05:03:54 -0000 Received: (qmail 42064 invoked by uid 500); 16 Aug 2006 05:03:53 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 41473 invoked by uid 500); 16 Aug 2006 05:03:52 -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 Delivered-To: moderator for user@geronimo.apache.org Received: (qmail 49181 invoked by uid 99); 16 Aug 2006 03:05:38 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of scott.p.anderson@gmail.com designates 64.233.182.185 as permitted sender) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=rWGek7RzypqQRRaccrJ+s4uI+kEfrE/1DnWgCsjTY8zzkwTnpqfPhlxMeRPrdzyqvQBAkNrno9hnvRLJsGHR3QBUF7B5Lq0j97W21yoU2YpIsnjk8kEcwF4uxhd61DUL4qs/q5SqKHmUCNLi3QqD9V0n00BbWrqyxx01HKCk9/8= Message-ID: Date: Tue, 15 Aug 2006 20:05:15 -0700 From: "Scott Anderson" Sender: scott.p.anderson@gmail.com To: user@geronimo.apache.org, sdpatil@gmail.com Subject: Re: adding support for sharedlib to tomcat module In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5675_29689693.1155697515192" References: X-Google-Sender-Auth: 058bc2362a9b57d2 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_5675_29689693.1155697515192 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Nevermind. Turns out another conflict triggered the class loader issue. The sharedlib feature is working as advertised...it +is+ included in the tomcat deployment plan. Scott On 8/15/06, Scott Anderson wrote: > > I have encountered the same problem as Sunil did in my attempts to > integrate the Apache Pluto 1.1 jars into Geronimo ... > > > http://www.nabble.com/Re%3A-Need-help-on-classloading-related-problem%28What-is-shared-lib-in-Apache-Geronimo%29-p5335050.html > > Unfortunately, the response provided to Sunil does not seem to provide a > complete solution to the problem. It appears that the class loaders being > used by the Tomcat module do not include the Pluto 1.1 jars from the > sharedlib directory. This makes sense because the Tomcat module does not > appear to be including the sharedlib dependency in its deployment plan. > > How would I go about adding this dependency to Tomcat? I don't have a lot > of maven experience and from searching/looking at the configuration files it > seems like I should be adding the dependency to either > 'modules/tomcat/project.xml' or 'assemblies/j2ee-tomcat-server/project.xml' > and then rebuilding Geronimo? Alternately, I could explicitly add > dependencies for the pluto jars to the tomcat deployment plan instead of > using the sharedlib dependency but that would require that those jars be in > the repository at the time the tomcat module is built. This would seem to > require a more substantial change to the Geronimo build scripts which is > something I would like to avoid. > > Am I on the right track? > > Scott > ------=_Part_5675_29689693.1155697515192 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Nevermind. Turns out another conflict triggered the class loader issue. The sharedlib feature is working as advertised...it +is+ included in the tomcat deployment plan.

Scott

On 8/15/06, Scott Anderson <portletdev@gmail.com> wrote:
I have encountered the same problem as Sunil did in my attempts to integrate the Apache Pluto 1.1 jars into Geronimo ...

http://www.nabble.com/Re%3A-Need-help-on-classloading-related-problem%28What-is-shared-lib-in-Apache-Geronimo%29-p5335050.html

Unfortunately, the response provided to Sunil does not seem to provide a complete solution to the problem. It appears that the class loaders being used by the Tomcat module do not include the Pluto 1.1 jars from the sharedlib directory. This makes sense because the Tomcat module does not appear to be including the sharedlib dependency in its deployment plan.

How would I go about adding this dependency to Tomcat? I don't have a lot of maven experience and from searching/looking at the configuration files it seems like I should be adding the dependency to either 'modules/tomcat/project.xml' or 'assemblies/j2ee-tomcat-server/project.xml' and then rebuilding Geronimo? Alternately, I could explicitly add dependencies for the pluto jars to the tomcat deployment plan instead of using the sharedlib dependency but that would require that those jars be in the repository at the time the tomcat module is built. This would seem to require a more substantial change to the Geronimo build scripts which is something I would like to avoid.

Am I on the right track?

Scott

------=_Part_5675_29689693.1155697515192--