AFAIK classloaders are supposed to by hierachical. So the ear classloader is the parent of the classloader for the war and the ejbjar. You can only inherit from a parent (or the parent of the parent) classloader. As a result, an ejbjar cannot inherit the classloader of a war file, which is what you're trying to do. Proper design in this case would be to place shared libraries in side the ear file and define them as java modules in the ear's descriptor.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828935#3828935 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828935 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
