This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
while running jboss server it gives error for org.jboss.logging.util.OnlyOnceErrorHandler
Abhishek Mhptr
Ranch Hand
Joined: Aug 09, 2009
Posts: 33
posted
0
Hi.
i have created an log4j.xml file inside jboss/server/default/config. (this file is different than jboss-log4j.xml)
here is the content of my log4j.xml file.
it works fine. but it gives the following error in the console while running the jboss server.
20:09:31,727 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable.
20:09:31,727 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by
20:09:31,727 ERROR [STDERR] log4j:ERROR [BaseClassLoader@b04214{vfsfile:/D:/jboss-5.1.0.GA/server/default/deploy/axis2.war/}] whereas object of type
20:09:31,727 ERROR [STDERR] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.bootstrap.NoAnnotationURLClassLoader@1c39a2d].
i have gone through many forums and articles. everyone has suggested to remove log4j.jar file from the WEB-INF/lib folder.
but if i do that i am unable to get the output.
kindly help me out in getting rid of the error messages without removing the jar file as we need that for our application..