[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - NoClassDefFoundError in a expanded war from its own /lib/ ja

icordoba do-not-reply at jboss.com
Tue May 29 08:04:18 EDT 2007

Hi there,
i am trying tu configure class loading in JBoss 4.0.5
I have an .ear file with <loader-repository-config> and java2ParentDelegation=true
I need to access classes in this .ear from my war application, deployed in a war dir (I need to work on it, can't package it in the .ear file)
I've tried to reference to the same class loader with jboss-web.xml and tried all combinations of java2ParentDelegation and java2ClassLoadingCompliance flags with no success. The most I've been able to achieve is loding the classes in the ear' jars but classes in /WEB-INF/lib/ jars are then invisible to the webapp (¿?). How can I make the webapp mix both class loaders?
Thanks for any help. Please don't point me to those 2 documents about JBoss class loading. I've been reading them for years and, as happens with many JBoss users, can't get a clear picture of all this flags. ¿Any alternative documents about class loading configuration in web apps in JBoss? Thanks for any help until some one writes that pending Web Class Loading WiKi.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049282#4049282

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049282

More information about the jboss-user mailing list