All Versions
Fedora 3.8.0 (Current Release)
Fedora 3.7.x
Fedora 3.6.x
Fedora 3.5.x
More..
Old Release
This documentation covers an old version of Fedora. Looking for another version? See all documentation.
Under Construction
This page is in the process of being updated.
Fedora WAR file will not deploy to the JBoss Application Server without modification. The root cause is a duplicate copy of Log4J.jar that is included in the Fedora distribution (JBoss AS includes its own copy). Symptoms of the problem are errors similar to these in the JBoss AS log file:
INFO [FEDINFO:TomcatDeployer] deploy, ctxPath=/fedora, warUrl=.../tmp/deploy/tmp42671fedora-exp.war/ ERROR [FEDINFO:STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable. ERROR [FEDINFO:STDERR] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by ERROR [FEDINFO:STDERR] log4j:ERROR \[WebappClassLoader delegate: false repositories: /WEB-INF/classes/ \----------> Parent Classloader: java.net.FactoryURLClassLoader@148bd9e\] whereas object of type ERROR [FEDINFO:STDERR] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [FEDINFO:org.jboss.system.server.NoAnnotationURLClassLoaderatc2a132].
This is similar to the circumstances reported by a Java Forum user http://forum.java.sun.com/thread.jspa?threadID=5112910