Skip to main content

Solution to an Error when deploying a report on jboss

No replies
freezea
Offline
Joined: 2008-12-29
Points: 0

An error often happens when you use RAQ Report on jboss:
log4j:ERROR A “org.jboss.logging.util.OnlyOnceErrorHandler” object is not assignable to a “org.apache.log4j.spi.ErrorHandler” variable…
Solution
The solution for jboss 4.0.x is to set the following two properties in /server/default/jbossweb-tomcat55.sar/META-INF/jboss-service.xml as: true
true
true
For jboss 4.2.x, set those two properties in /server/default/jboss-web.deployer\META-INF/jboss-service.xml as: true
The two properties and their comments are as follows:

true

true