[opencms-dev] log4j problem in jboss

rock rockit at tom.com
Thu Jan 12 04:33:29 CET 2006


Hi all,
I have tried to test opencms 6.0.3 in jboss 4.03sp1,and the installation is successful.But when I run jboss again ,I found that the jboss console catch a exception which cause log4j in opencms can't work.

INFO  [STDOUT] log4j:ERROR  "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable. 
INFO  [STDOUT] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by 
INFO  [STDOUT] log4j:ERROR [WebappClassLoader 
  delegate: false 
  repositories: 
    /WEB-INF/classes/ 
----------> Parent Classloader: 
java.net.FactoryURLClassLoader at fb0b0 
] whereas object of type 
INFO  [STDOUT] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader at 291aff]. 
INFO  [STDOUT] log4j:ERROR Could not create an Appender. Reported error follows. 
.....


I have tried to remove log4j.jar from WEB-INF/lib/ in opencms.
Log4j in opencms seems work well,but log4j in jboss can't work.

Thanks,
rockit.
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060112/f5a327cb/attachment.htm>


More information about the opencms-dev mailing list