Fedora Repository 3 Documentation
Page not found

Under Construction

This page is in the process of being updated.

The 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

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels