Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 86640 invoked from network); 31 May 2007 22:24:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 May 2007 22:24:00 -0000 Received: (qmail 74241 invoked by uid 500); 31 May 2007 22:24:01 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 74211 invoked by uid 500); 31 May 2007 22:24:01 -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 74200 invoked by uid 99); 31 May 2007 22:24:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 15:24:01 -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 (herse.apache.org: domain of justj2ee@gmail.com designates 209.85.132.242 as permitted sender) Received: from [209.85.132.242] (HELO an-out-0708.google.com) (209.85.132.242) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 15:23:55 -0700 Received: by an-out-0708.google.com with SMTP id d23so187159and for ; Thu, 31 May 2007 15:23:34 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=OoNRGNAIk7ykPg3jFMAEDja2aYMDbuunFG7D9PnY5IKQdUrAQd0443lDId5G27qtAmNe0kYwUwiVFBCCxjEh3QgN4frxiyfUMID7Ken9bcsdwxftldu5qIB7VxgyiGg1ehZMdAUPimHTe0A+XXDSzfFGbXt2VM32ETiTqdBEyVU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=gs90nSJ4cVH9lqTscNR7uf0kljs76jVFAyhyZhj8IsgElZninWT2QkPy1acxps1TcSJ2TH/a1pMnapgPA56pxvGG3FU5t+yCa0/z/gPCaYc6CBzG5Aw/PW9KZY1e9h1gthAllnUmv8/aqQSwfMmvOVJ5/ryL3VL/NuiGhBtmOZQ= Received: by 10.100.250.7 with SMTP id x7mr690378anh.1180650213930; Thu, 31 May 2007 15:23:33 -0700 (PDT) Received: by 10.100.194.18 with HTTP; Thu, 31 May 2007 15:23:33 -0700 (PDT) Message-ID: Date: Thu, 31 May 2007 17:23:33 -0500 From: "Don Hill" To: user@geronimo.apache.org Subject: Re: Library problem with Geronimo 2 M5 In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_39775_29898701.1180650213890" References: <51ef3a920705231211u456db39ehd50cd5bb80d298f8@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_39775_29898701.1180650213890 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have also hit this today and seems to me that the issue is the jaxen jar located in the parent classloader, and I think jaxen also has a reference to dom4j if your using the XPATH stuff. I have tto use dependency entries in geronimo-web.xml but that doesn't seem to work. Dave, Is there a way to isolate or load web-inf classes first, seems the inverse entry has gone away, at least its commented out in the schema? Don On 5/24/07, David Jencks wrote: > > NCDFE generally means that the class that depends on the missing > class is present in a parent classloader that doesn't have access to > the needed class. Can you figure out which class is trying to load > the dom4j class? If so you might be able to figure out which > classloader has loaded that class. Also, are you using the jetty or > tomcat geronimo version? You might try the other one to see if > there's a difference in behavior. > > thanks > david jencks > > On May 23, 2007, at 12:11 PM, Christopher Gibbs wrote: > > > Hello all, > > > > I'm fairly new to Geronimo but I'm trying to deploy Atlassian's > > Confluence 2.5.2 war file to Geronimo 2 M5. > > > > I can successfully deploy it to Geronimo 1.1.1 but when I try it > > Geronimo 2 M5 I get the following error: > > 13:26:52,539 ERROR [[/confluence]] Exception sending context > > initialized event to listener instance of class > > com.atlassian.confluence.setup.ConfluenceConfigurationListener > > java.lang.NoClassDefFoundError: org/dom4j/Element > > > > I can see that it's not finding the dom4j library but what I don't > > know is why. The library file exists within the confluence .war file > > WEB-INF/lib directory. Is there something I should have in my > > geronimo-web.xml file to set the library/class path? > > > > Here is my current geronimo-web.xml: > > > > > > > > > > > > atlassian > > confluence > > 2.5.2 > > > > > > > > console.dbpool > > ConfluencePool > > > > > > > > /confluence > > > > > > jdbc/ConfluenceDS > > ConfluencePool > > > > > > > > Any help is appreciated! > > > > - Chris > > ------=_Part_39775_29898701.1180650213890 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

I have also hit this today and seems to me that the issue is the jaxen jar located in the parent classloader, and I think jaxen also has a reference to dom4j if your using the XPATH stuff. I have tto use dependency entries in geronimo-web.xml but that doesn't seem to work.

Dave, Is there a way to isolate or load web-inf classes first, seems the inverse entry has gone away, at least its commented out in the schema?

Don

On 5/24/07, David Jencks <david_jencks@yahoo.com> wrote:
NCDFE generally means that the class that depends on the missing
class is present in a parent classloader that doesn't have access to
the needed class.  Can you figure out which class is trying to load
the dom4j class?  If so you might be able to figure out which
classloader has loaded that class.  Also, are you using the jetty or
tomcat geronimo version?  You might try the other one to see if
there's a difference in behavior.

thanks
david jencks

On May 23, 2007, at 12:11 PM, Christopher Gibbs wrote:

> Hello all,
>
> I'm fairly new to Geronimo but I'm trying to deploy Atlassian's
> Confluence 2.5.2 war file to Geronimo 2 M5.
>
> I can successfully deploy it to Geronimo 1.1.1 but when I try it
> Geronimo 2 M5 I get the following error:
> 13:26:52,539 ERROR [[/confluence]] Exception sending context
> initialized event to listener instance of class
> com.atlassian.confluence.setup.ConfluenceConfigurationListener
> java.lang.NoClassDefFoundError: org/dom4j/Element
>
> I can see that it's not finding the dom4j library but what I don't
> know is why. The library file exists within the confluence .war file
> WEB-INF/lib directory. Is there something I should have in my
> geronimo-web.xml file to set the library/class path?
>
> Here is my current geronimo-web.xml:
>
> <?xml version=" 1.0" encoding="UTF-8"?>
> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1">
>    <environment>
>        <moduleId>
>            <groupId>atlassian</groupId>
>            <artifactId>confluence</artifactId>
>            <version>2.5.2</version>
>        </moduleId>
>        <dependencies>
>            <dependency>
>                <groupId>console.dbpool</groupId>
>                <artifactId>ConfluencePool</artifactId>
>            </dependency>
>        </dependencies>
>    </environment>
>    <context-root>/confluence</context-root>
>    <!-- security settings, if any, go here -->
>    <resource-ref>
>        <ref-name>jdbc/ConfluenceDS</ref-name>
>        <resource-link>ConfluencePool</resource-link>
>    </resource-ref>
> </web-app>
>
> Any help is appreciated!
>
> - Chris


------=_Part_39775_29898701.1180650213890--