Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss Portal] - struck log4j related problems while
 starting CAS war

scott.stark@jboss.org

2007-06-15


I have installed Central Authentication Service v 3.0.7 on JBoss Portal 2.6. For that we need to put cas.war to /JBOSS_HOME/server/default/deploy

After that i started the server, but i got:

15:38:58,767 INFO [[/cas]] Initializing Log4J from [classpath:log4j.properties]
15:38:58,923 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "o
rg.apache.log4j.spi.ErrorHandler" variable.
15:38:58,923 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by
15:38:58,923 ERROR [STDERR] log4j:ERROR [WebappClassLoader
delegate: false
repositories:
  /WEB-INF/classes/
----------> Parent Classloader:
java.net.FactoryURLClassLoader@(protected)
] whereas object of type
15:38:58,923 ERROR [STDERR] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.se
rver.NoAnnotationURLClassLoader@(protected)].
15:38:58,986 ERROR [STDERR] log4j:ERROR Could not create an Appender. Reported error follows.
15:38:58,986 ERROR [STDERR] java.lang.ClassCastException: org.jboss.logging.appender.DailyRollingFileAppender

So I decided to remove log4j and commons-logging from web-inf/lib of cas.war. I also verified they are present in lib of /JBOSS_HOME/server/default. Now server startup simply halts at:

15:42:43,162 INFO [[/cas]] Initializing Log4J from [classpath:log4j.properties]

No errors any where!! Any idea whats going on.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054680#4054680

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054680
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.