In short, when deploying an application using commons-logging (configured to use log4j) in glassfish v3, I get this error in the logs:
SEVERE: log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
SEVERE: log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
SEVERE: log4j:ERROR [WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)] whereas object of type
SEVERE: log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)].
SEVERE: log4j:ERROR Could not instantiate appender named "console".
However, the same app works fine when deployed in glassfish v2.1.
Any ideas?
[Message sent by forum member 'rwillie6' (ryanwilson.m_at_gmail.com)]
http://forums.java.net/jive/thread.jspa?messageID=379129