On May 31, 2007, at 3:23 PM, Don Hill wrote:


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?

All our classloaders can now load their classes child-first, by setting the 

 element in the <environment> element.

david jencks


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.

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