IÃÂm having problems when deploying an application within an EAR with it's own ClassLoader (via jboss-app.xml) containing an web module inside (which has the java2ClassLoadingCompliance="false").
When JBoss tries to configure log4j, a ClassCastException occours. I've debugged and noticed that the ClassLoader containing the org.apache.log4j.Appender class is different from the one that contains the appender instance (org.jboss.logging.appender.DailyRollingFileAppender). The Appender class ClassLoader is a org.apache.catalina.loader.WebappClassLoader, while the DailyRollingFileAppender ClassLoader is a org.jboss.system.server.NoAnnotationURLClassLoader. So, with different ClassLoaders, the ClassCastException occours. How can I configure a web module that way (my app REQUIRES that the EAR ClassLoader is unique)? Thanks, and sorry if the post is a bit confusing ;) <a href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825932#3825932">View the original post</a> <a href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825932>Reply to the post</a> ------------------------------------------------------- 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_id70&alloc_id638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
