Hello, When I deployed cas server 3.4.2 on JBoss 5.1, I hit an slf4j error like the one below.
ERROR [STDERR] SLF4J: Class path contains multiple SLF4J bindings. ERROR [STDERR] SLF4J: Found binding in [vfszip:/F:/jboss-5.1.0.GA/server/default/deploy/cas-server-webapp-3.4.2.war/WEB-INF/lib/slf4j-log4j12-1.5.8.jar/org/slf4j/impl/StaticLoggerBinder.class] ERROR [STDERR] SLF4J: Found binding in [vfszip:/F:/jboss-5.1.0.GA/common/lib/slf4j-jboss-logging.jar/org/slf4j/impl/StaticLoggerBinder.class] According to the SLF4j error codes at http://www.slf4j.org/codes.html, I took out slf4j-log4j12-1.5.8.jar. However, another error was encountered. Error configuring application listener of class org.jasig.cas.web.init.SafeContextLoaderListener java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) for resolved class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature Can someone please let me know how to resolve it? Thanks! -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
