Stefan Groschupf wrote:
Hi Jboss community.

I’m sorry the class loading issue is discussed many times in this list, but I still have trouble to find my problem.
I use dom 4j in my webfrontend for xslt transformation. The dom4j version require an pacht of the jdk.
As described by dom4j I had patched my jdk 1.4.1 and put xalan.jar, xml-apis.jar and xercesImpl.jar in the jdk/jre/lib/endorsed folder.
Now I have a component I want to use in my application that require the old versions of the libraries.
Put the older versions of the libraries in a the lib folder of my component ear don’t fix the problem. ;/
Putting the new libraries only in the lib folder of my application ear don’t fix the problem as well not. ;(


Can someone point me to an resource that can help me understand where my problem can be, or someone has any hint for me?

Here is a decent brief introduction to how the class loader hierarchy works -- although the description is specific to Tomcat, the information holds true for all Java classloader concepts:


<http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html#Overview>

It sounds like the endorsed libs you are using are "hiding" the webapp-specific libs.


Erik




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to