[jboss-user] [Installation, Configuration & Deployment] - Log4j an JBOSS 4.0.5
do-not-reply at jboss.com
Wed Nov 15 21:28:44 EST 2006
I have downloaded the latest version and ran the window installer.
Where I start the server up, an error displays involving the log4j component. I have not changed the log4j.xml settings, so I am confused why this error would even happen:
| 20:05:44,757 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable.
| 20:05:44,757 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by
| 20:05:44,757 ERROR [STDERR] log4j:ERROR [WebappClassLoader
| delegate: false
| ----------> Parent Classloader:
| java.net.FactoryURLClassLoader at 31c43f
| ] whereas object of type
| 20:05:44,757 ERROR [STDERR] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader at ab95e6].
| 20:05:44,820 ERROR [STDERR] log4j:ERROR Could not create an Appender. Reported error follows.
| 20:05:44,820 ERROR [STDERR] java.lang.ClassCastException: org.jboss.logging.appender.DailyRollingFileAppender
I checked to ensure I had the log4j.jar (or something like it) within the server area. I found log4j-boot.jar found in <JBOSS_DIR>/lib, so I am at a lost to explain why there is an issue.
Can someone shed some light on this for me?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986371#3986371
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986371
More information about the jboss-user