Found the problem. I was using log4j 1.2.8 in the classpath, whereas I should have used log4j-boot.jar under %JBOSS_HOME%/lib
Yes I got the same error.
I resolved it by the same way as youmentiond.
But what is the reason behind this error and why I have to replace the log4j with jboss -boot log4j ?
Note: SINCE 1.2.12
I'd be very concerned about what you've suggested you did for your solution. My guess is that Log4J-Boot.jar that you've grabbed has been modified to be somewhat JBoss-specific and you may have broken whatever original plans you had for Log4J. Try just upgrading your Log4J to the latest 1.2 release. (at this time 1.2.15)
Did the trick for me...