Hello. I am fairly new to JBoss. I would like to know what I have to do to use 
the latest release of log4j (1.2.12) in JBoss. If I replace the log4j.jar file 
located in my server/default/lib directory by the log4j-1.2.12 file - I'm not 
sure this is the right thing to do - I get the following error (logging works 
though):

12:50:54,799 INFO  [STDOUT] log4j:ERROR A 
"org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a 
"org.apache.log4j.spi.ErrorHandler" variable.
12:50:54,799 INFO  [STDOUT] log4j:ERROR The class 
"org.apache.log4j.spi.ErrorHandler" was loaded by 
12:50:54,799 INFO  [STDOUT] log4j:ERROR [WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
[EMAIL PROTECTED]
] whereas object of type 
12:50:54,799 INFO  [STDOUT] log4j:ERROR 
"org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [EMAIL PROTECTED]
12:50:54,809 INFO  [STDOUT] log4j:ERROR Could not create an Appender. Reported 
error follows.

Kind regards.

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

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


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to