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.
On 5/24/07, David Jencks <firstname.lastname@example.org> 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.
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
> 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">
> <!-- security settings, if any, go here -->
> Any help is appreciated!
> - Chris