In JBoss AS 7 uses JBoss Logging and not log4j. In JBoss AS 7.2.x this should work as we replaced the log-bridge, but it has not been released yet. If you need to use log4j in your project with versions prior to 7.2 you need to exclude the servers log4j library and include your own.