2 Replies Latest reply on Sep 7, 2006 2:27 AM by Padam

    Jboss Log4J problem <- I need help

    Alex Dorandish Newbie

      Hi All,

      I have downloaded CAS (Central Authorization Service) and took the sample war file (cas.war) and placed it in the default/deploy folder of the jboss.

      Here is the error I get:

      14:44:23,890 INFO [TomcatDeployer] deploy, ctxPath=/cas, warUrl=.../tmp/deploy/tmp1356cas-exp.war/
      14:44:24,453 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable.
      14:44:24,453 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by
      14:44:24,453 ERROR [STDERR] log4j:ERROR [WebappClassLoader
       delegate: false
       repositories:
       /WEB-INF/classes/
      ----------> Parent Classloader:
      java.net.FactoryURLClassLoader@18b4ccb
      ] whereas object of type
      14:44:24,453 ERROR [STDERR] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@1888759].
      14:44:24,515 ERROR [STDERR] log4j:ERROR Could not create an Appender. Reported error follows.
      14:44:24,515 ERROR [STDERR] java.lang.ClassCastException
      14:44:24,515 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:175)
      14:44:24,515 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150)
      14:44:24,515 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163)
      14:44:24,515 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425)
      14:44:24,515 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394)
      14:44:24,515 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829)
      14:44:24,515 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)
      14:44:24,515 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)
      14:44:24,515 ERROR [STDERR] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)
      14:44:24,515 ERROR [STDERR] at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
      14:44:24,515 ERROR [STDERR] at org.apache.log4j.Logger.getLogger(Logger.java:104)
      14:44:24,515 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      14:44:24,515 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      14:44:24,515 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      14:44:24,515 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      14:44:24,515 ERROR [STDERR] at org.apache.commons.logging.impl.Log4jProxy.<init>(Log4jProxy.java:132)
      14:44:24,515 ERROR [STDERR] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:39)
      14:44:24,515 ERROR [STDERR] at sun.reflect.GeneratedConstructorAccessor11.newInstance(Unknown Source)
      14:44:24,531 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      14:44:24,531 ERROR [STDERR] at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      14:44:24,531 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
      14:44:24,531 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
      14:44:24,531 ERROR [STDERR] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:372)
      14:44:24,531 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
      14:44:24,531 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4090)
      14:44:24,531 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      14:44:24,531 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      14:44:24,531 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      14:44:24,546 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      14:44:24,546 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      14:44:24,546 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      14:44:24,546 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      14:44:24,546 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      14:44:24,546 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      14:44:24,562 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      14:44:24,562 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
      14:44:24,562 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      14:44:24,562 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      14:44:24,562 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      14:44:24,562 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      14:44:24,562 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      14:44:24,562 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      14:44:24,578 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      14:44:24,578 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
      14:44:24,578 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
      14:44:24,578 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
      14:44:24,578 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
      14:44:24,578 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
      14:44:24,593 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      14:44:24,593 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      14:44:24,593 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      14:44:24,593 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      14:44:24,593 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      14:44:24,593 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      14:44:24,609 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      14:44:24,609 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      14:44:24,609 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      14:44:24,609 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      14:44:24,609 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      14:44:24,609 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      14:44:24,609 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
      14:44:24,625 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      14:44:24,625 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      14:44:24,625 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      14:44:24,625 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      14:44:24,625 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      14:44:24,625 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      14:44:24,625 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      14:44:24,625 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      14:44:24,640 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      14:44:24,640 ERROR [STDERR] at $Proxy30.start(Unknown Source)
      14:44:24,640 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
      14:44:24,640 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      14:44:24,640 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      14:44:24,640 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      14:44:24,640 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      14:44:24,656 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      14:44:24,656 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      14:44:24,656 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      14:44:24,656 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      14:44:24,656 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      14:44:24,656 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
      14:44:24,671 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
      14:44:24,671 ERROR [STDERR] at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
      14:44:24,671 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
      14:44:24,671 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
      14:44:24,671 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      14:44:24,671 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      14:44:24,671 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      14:44:24,687 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      14:44:24,687 ERROR [STDERR] at $Proxy31.start(Unknown Source)
      14:44:24,687 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
      14:44:24,687 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
      14:44:24,687 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
      14:44:24,687 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
      14:44:24,687 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      14:44:24,703 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      14:44:24,703 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      14:44:24,703 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      14:44:24,703 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      14:44:24,703 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      14:44:24,703 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      14:44:24,703 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      14:44:24,718 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      14:44:24,718 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      14:44:24,718 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      14:44:24,718 ERROR [STDERR] at $Proxy8.deploy(Unknown Source)
      14:44:24,718 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      14:44:24,718 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
      14:44:24,718 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      14:44:24,734 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
      14:44:24,734 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
      14:44:24,734 ERROR [STDERR] log4j:ERROR Could not parse url [file:/C:/JBoss/jboss-4.0.4/server/default/conf/log4j.xml].
      14:44:24,734 ERROR [STDERR] java.lang.NullPointerException
      14:44:24,734 ERROR [STDERR] at java.util.Hashtable.put(Hashtable.java:393)
      14:44:24,734 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:151)
      14:44:24,750 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163)
      14:44:24,750 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425)
      14:44:24,750 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394)
      14:44:24,750 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829)
      14:44:24,750 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)
      14:44:24,750 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)
      14:44:24,750 ERROR [STDERR] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)
      14:44:24,765 ERROR [STDERR] at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
      14:44:24,765 ERROR [STDERR] at org.apache.log4j.Logger.getLogger(Logger.java:104)
      14:44:24,765 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      14:44:24,765 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      14:44:24,765 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      14:44:24,765 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      14:44:24,765 ERROR [STDERR] at org.apache.commons.logging.impl.Log4jProxy.<init>(Log4jProxy.java:132)
      14:44:24,781 ERROR [STDERR] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:39)
      14:44:24,781 ERROR [STDERR] at sun.reflect.GeneratedConstructorAccessor11.newInstance(Unknown Source)
      14:44:24,781 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      14:44:24,781 ERROR [STDERR] at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      14:44:24,781 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
      14:44:24,781 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
      14:44:24,796 ERROR [STDERR] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:372)
      14:44:24,796 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
      14:44:24,796 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4090)
      14:44:24,796 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      14:44:24,796 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      14:44:24,796 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      14:44:24,796 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      14:44:24,796 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      14:44:24,812 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      14:44:24,812 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      14:44:24,812 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      14:44:24,812 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      14:44:24,812 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      14:44:24,812 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
      14:44:24,812 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      14:44:24,828 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      14:44:24,828 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      14:44:24,828 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      14:44:24,828 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      14:44:24,828 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      14:44:24,828 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      14:44:24,843 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
      14:44:24,843 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
      14:44:24,843 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
      14:44:24,843 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
      14:44:24,843 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
      14:44:24,843 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      14:44:24,843 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      14:44:24,859 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      14:44:24,859 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      14:44:24,859 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      14:44:24,859 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      14:44:24,859 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      14:44:24,859 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      14:44:24,859 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      14:44:24,875 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      14:44:24,875 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      14:44:24,875 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      14:44:24,875 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
      14:44:24,875 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      14:44:24,875 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      14:44:24,875 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      14:44:24,890 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      14:44:24,890 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      14:44:24,890 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      14:44:24,890 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      14:44:24,890 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      14:44:24,890 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      14:44:24,890 ERROR [STDERR] at $Proxy30.start(Unknown Source)
      14:44:24,906 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
      14:44:24,906 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      14:44:24,906 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      14:44:24,906 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      14:44:24,906 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      14:44:24,906 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      14:44:24,906 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      14:44:24,921 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      14:44:24,921 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      14:44:24,921 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      14:44:24,921 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
      14:44:24,921 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
      14:44:24,921 ERROR [STDERR] at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
      14:44:24,921 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
      14:44:24,937 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
      14:44:24,937 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      14:44:24,937 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      14:44:24,937 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      14:44:24,937 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      14:44:24,937 ERROR [STDERR] at $Proxy31.start(Unknown Source)
      14:44:24,953 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
      14:44:24,953 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
      14:44:24,953 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
      14:44:24,953 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
      14:44:24,953 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      14:44:24,953 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      14:44:24,953 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      14:44:24,968 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      14:44:24,968 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      14:44:24,968 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      14:44:24,968 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      14:44:24,968 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      14:44:24,968 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      14:44:24,968 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      14:44:24,984 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      14:44:24,984 ERROR [STDERR] at $Proxy8.deploy(Unknown Source)
      14:44:24,984 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      14:44:24,984 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
      14:44:24,984 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      14:44:24,984 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
      14:44:24,984 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
      14:44:25,281 INFO [STDOUT] 14:44:25,281 INFO [[/cas]] Initializing Log4J from [classpath:log4j.properties]
      14:44:25,359 INFO [STDOUT] 2006-08-12 14:44:25,359 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/cas]] - <Loading Spring root WebApplicationContext>
      14:44:26,359 INFO [STDOUT] 2006-08-12 14:44:26,359 INFO [org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler] - <No PasswordEncoder set. Using default: org.jasig.cas.authentication.handler.PlainTextPasswordEncoder>
      14:44:26,359 INFO [STDOUT] 2006-08-12 14:44:26,359 INFO [org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler] - <No Class to Support set. Using default: org.jasig.cas.authentication.principal.UsernamePasswordCredentials>
      14:44:26,359 INFO [STDOUT] 2006-08-12 14:44:26,359 WARN [org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler] - <org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler is only to be used in a testing environment. NEVER enable this in a production environment.>
      14:44:26,406 INFO [STDOUT] 2006-08-12 14:44:26,406 INFO [org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler] - <No UniqueTicketIdGenerator specified for org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler. Using org.jasig.cas.util.DefaultUniqueTicketIdGenerator>
      14:44:27,046 INFO [STDOUT] 2006-08-12 14:44:27,046 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/cas]] - <Loading WebApplicationContext for Spring FrameworkServlet 'cas'>
      14:44:27,656 INFO [STDOUT] 2006-08-12 14:44:27,656 INFO [org.jasig.cas.web.ServiceValidateController] - <No successView specified. Using default of casServiceSuccessView>
      14:44:27,656 INFO [STDOUT] 2006-08-12 14:44:27,656 INFO [org.jasig.cas.web.ServiceValidateController] - <No failureView specified. Using default of casServiceFailureView>
      14:44:27,671 INFO [STDOUT] 2006-08-12 14:44:27,671 INFO [org.jasig.cas.web.ServiceValidateController] - <No authentication specification class set. Defaulting to org.jasig.cas.validation.Cas20ProtocolValidationSpecification>
      14:44:27,671 INFO [STDOUT] 2006-08-12 14:44:27,671 INFO [org.jasig.cas.web.ServiceValidateController] - <No successView specified. Using default of casServiceSuccessView>
      14:44:27,671 INFO [STDOUT] 2006-08-12 14:44:27,671 INFO [org.jasig.cas.web.ServiceValidateController] - <No failureView specified. Using default of casServiceFailureView>
      14:44:27,765 INFO [STDOUT] 2006-08-12 14:44:27,765 INFO [org.jasig.cas.web.flow.AuthenticationViaFormAction] - <FormObjectClass not set. Using default class of org.jasig.cas.authentication.principal.UsernamePasswordCredentials with formObjectName credentials and validator org.jasig.cas.validation.UsernamePasswordCredentialsValidator.>
      14:44:46,531 INFO [STDOUT] 2006-08-12 14:44:46,531 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <Starting cleaning of expired tickets from ticket registry at [Sat Aug 12 14:44:46 PDT 2006]>
      14:44:46,531 INFO [STDOUT] 2006-08-12 14:44:46,531 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <0 found to be removed. Removing now.>
      14:44:46,531 INFO [STDOUT] 2006-08-12 14:44:46,531 INFO [org.jasig.cas.ticket.registry.support.DefaultTicketRegistryCleaner] - <Finished cleaning of expired tickets from ticket registry at [Sat Aug 12 14:44:46 PDT 2006]>
      


      I looked in the war file and I noticed that log4j lib exist in the WEB-INF/lib of the war file. I read some suggestions that in order to get rid of that problem I should remove the log4j lib from my war. I did that I got more errors.

      Can anyone help?

      P.S: I have downloaded the CAS from http://www.ja-sig.org/products/cas/downloads/index.html