Bugs item #527856, was opened at 2002-03-09 18:50 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=527856&group_id=22866
Category: JBossServer Group: v2.4 (stable) Status: Open Resolution: None Priority: 5 Submitted By: Raffaele Spazzoli (raffaelespazzol) Assigned to: Nobody/Anonymous (nobody) Summary: class loading problem during ear deploy Initial Comment: when I deploy an application that uses log4j.jar I receive the following error: [ERROR,Default] log4j:ERROR A "org.jboss.logging.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable. [ERROR,Default] log4j:ERROR Could not instantiate appender named "Console". the log4j.jar is bundled in the ear file under the directory /lib and the jars that uses it refer to it by the ClassPath entry in the Manifest file. Furthermore the log4j.jar is bundled under the WEB-INF/lib directory in the war file. I've strong suspect that the error is due to the presence of the log4j file in the war archive. I know that I don't need to include the log4j file when executing in the jboss environment but we are trying to make general ear file, and anyway jboss should try to be as coherent to the specification as possible. The specification says that every ear should be able to use his own classes in is own version indipendently from what happen for other application hosted in the same container. If this can be useful to resolve the problem I include the same version of log4j as the one that came with jboss and I use catalina embedded in jboss ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=527856&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
