In case it's interesting, here's what happens when I add the log4j.jar file from JBoss 4.0.1sp1 to the WEB-INF/lib/ directory of the WAR file. That version of log4j.jar is 1.2.8. and I took it from \jboss-4.0.1sp1\server\default\lib\. I am assuming that it is the version of log4j being used when my application runs successfully under JBoss 4.0.1.
When I start the 4.2.1. server, these errors are written in the log: 2008-04-09 10:04:31,921 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0} 2008-04-09 10:04:31,921 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable. 2008-04-09 10:04:31,921 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 2008-04-09 10:04:31,921 ERROR [STDERR] log4j:ERROR [EMAIL PROTECTED] url=file:/C:/jboss-4.2.1.GA/server/default/tmp/deploy/tmp47679nexus-5-0-admin-exp.war/ ,addedOrder=42}] whereas object of type 2008-04-09 10:04:31,921 ERROR [STDERR] log4j:ERROR "org.jboss.logging.appender.FileAppender" was loaded by [EMAIL PROTECTED] 2008-04-09 10:04:31,921 ERROR [STDERR] log4j:ERROR Could not instantiate appender named "FILE". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142752#4142752 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142752 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user