jgv Posted July 20, 2006 Share Posted July 20, 2006 i install war on jboss and i have error:006-07-20 11:50:20,317 INFO [sTDOUT] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable.2006-07-20 11:50:20,317 INFO [sTDOUT] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by2006-07-20 11:50:20,318 INFO [sTDOUT] log4j:ERROR [WebappClassLoader^M delegate: false^M repositories:^M /WEB-INF/classes/^M----------> Parent Classloader:^Mjava.net.FactoryURLClassLoader@f60451^M] whereas object of type2006-07-20 11:50:20,318 INFO [sTDOUT] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@c2a132].2006-07-20 11:50:20,361 INFO [sTDOUT] log4j:ERROR Could not create an Appender. Reported error follows. then : ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jasperserver]] Exception starting filter securityFilterjavax.servlet.ServletException: Class of type org.acegisecurity.util.FilterChainProxy not found in classloader Link to comment Share on other sites More sharing options...
swood Posted July 20, 2006 Share Posted July 20, 2006 The log4j error is caused by having a log4j JAR in the jasperserver/WEB-INF/lib. Having a JAR here conflicts with JBoss's own log4j JAR. Just remove the log4j JAR from jasperserver/WEB-INF/lib and you will be fine. The FilterChainProxy class is in the acegi-security-1.0.0.jar under jasperserver/WEB-INF/lib. Is that JAR there? ShermanJasperSoft Link to comment Share on other sites More sharing options...
jgv Posted July 21, 2006 Author Share Posted July 21, 2006 For log4j i have also delete WEB-INF/classes/log4j/properties and its ok.but acegi-security-1.0.0.jar is under jasperserver/WEB-INF/lib and the error remain:2006-07-21 10:02:24,383 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jasperserver]] Exception starting filter securityFilterjavax.servlet.ServletException: Class of type org.acegisecurity.util.FilterChainProxy not found in classloader Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now