3 Replies Latest reply on Oct 25, 2007 10:16 AM by Vamsi Yalamanchili

    problem with jboss 4.2 and log4j

    meissa sakho Newbie

      Hi all,

      I'm facing to a problem withe jboss 4.2 and log4j.
      My application works correctly with jboss 4.3 sp1. But when I deploy it to jboss 4.2, The server complain againts log4j.
      It seems to me that there is a classloading problem.
      Here is the stack trace:

      log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
      log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
      log4j:ERROR [WebappClassLoader
      delegate: false
      ----------> Parent Classloader:

      If someone can help.
      thank in advance.