[jboss-user] [Installation, Configuration & Deployment] - jboss 4.2 and log4j nightmare

meissa do-not-reply at jboss.com
Thu Jun 28 05:21:36 EDT 2007


Hi jboss guys,
We are been more and more to suffer about the Impossibility to override
log4j.jar in jboss 4.2 version. 
The classloading isolation configuration that is explained in the wiki is not working at all.
Jboss still complain when we put log4j.jar in our appllications librairies.

Can you please,please,please give to us a real solution to get rif of this problem.
Removing log4j.jar from our librairies is not a solution.
here is the well known exption 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
  |   repositories:
  |     /WEB-INF/classes/
  | ----------> Parent Classloader:
  | java.net.FactoryURLClassLoader at 18c10af
  | ] whereas object of type 
  | log4j:ERROR "org.jboss.logging.appender.FileAppender" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader at 1a33d48].
  | log4j:ERROR Could not instantiate appender named "FILE".
  | 

Any help is greetly appreciated.

Meisssa

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058630#4058630

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058630



More information about the jboss-user mailing list