This content has been marked as final. Show 3 replies
However, I'm not sure if JBoss supports it as it forces an error.
Can you post the exception stacktrace?
Is slf4j support native to JBoss?
Which version of JBoss do you use? If JBoss-5 CR2 then have a look at the release notes http://www.jboss.com/index.html?module=bb&op=viewtopic&t=142572. Specifically:
Hibernate-core is now using slf4j-api as a logging facade. To properly integrate that in JBossAS we have created an slf4j-to-jboss-logging adapter (slf4j-jboss-logging.jar) that creates a static binding between sl4j and jboss-logging-spi . The jboss-logging default implementation is configured to use log4j. See JBAS-5519.
org.jboss.slf4j:slf4j-jboss-logging is banned In JBoss As 7, since there is slf4j-jboss-logmanager.
However, there is still ./client/slf4j-jboss-logging.jar and ./common/lib/slf4j-jboss-logging.jar in JBoss As 5.