views:

26

answers:

1

I've added the jboss-web.xml file to WEB-INF per http://www.grails.org/FAQand i'm still getting this error:

2010-09-02 12:31:57,920 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable.
2010-09-02 12:31:57,920 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by 
2010-09-02 12:31:57,920 ERROR [STDERR] log4j:ERROR [WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
java.net.FactoryURLClassLoader@72d0b2cf
] whereas object of type 
2010-09-02 12:31:57,920 ERROR [STDERR] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@2353f67e].

Also per the FAQ It looks like I need to start using log4j.xml is the only way to do that via the plugin or is there another way to use the xml file vs the dsl

below is the rest of the ClassCast stack trace I'm getting also

2010-09-02 13:02:11,492 ERROR [STDERR] java.lang.ClassCastException: org.jboss.logging.appender.DailyRollingFileAppender cannot be cast to org.apache.log4j.Appender
2010-09-02 13:02:11,493 ERROR [STDERR]  at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:238)
2010-09-02 13:02:11,493 ERROR [STDERR]  at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:171)
2010-09-02 13:02:11,493 ERROR [STDERR]  at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:184)
2010-09-02 13:02:11,493 ERROR [STDERR]  at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:502)
2010-09-02 13:02:11,493 ERROR [STDERR]  at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:471)
2010-09-02 13:02:11,493 ERROR [STDERR]  at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:921)
2010-09-02 13:02:11,493 ERROR [STDERR]  at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:790)
2010-09-02 13:02:11,493 ERROR [STDERR]  at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:696)
2010-09-02 13:02:11,493 ERROR [STDERR]  at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)
2010-09-02 13:02:11,494 ERROR [STDERR]  at org.apache.log4j.LogManager.<clinit>(LogManager.java:125)
2010-09-02 13:02:11,494 ERROR [STDERR]  at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)
2010-09-02 13:02:11,494 ERROR [STDERR]  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:243)
2010-09-02 13:02:11,494 ERROR [STDERR]  at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
2010-09-02 13:02:11,494 ERROR [STDERR]  at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:372)
2010-09-02 13:02:11,494 ERROR [STDERR]  at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
2010-09-02 13:02:11,494 ERROR [STDERR]  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4114)
2010-09-02 13:02:11,494 ERROR [STDERR]  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
2010-09-02 13:02:11,494 ERROR [STDERR]  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
2010-09-02 13:02:11,494 ERROR [STDERR]  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
2010-09-02 13:02:11,494 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
2010-09-02 13:02:11,494 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-09-02 13:02:11,494 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
2010-09-02 13:02:11,494 ERROR [STDERR]  at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
2010-09-02 13:02:11,494 ERROR [STDERR]  at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
2010-09-02 13:02:11,494 ERROR [STDERR]  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2010-09-02 13:02:11,494 ERROR [STDERR]  at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
2010-09-02 13:02:11,494 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
2010-09-02 13:02:11,495 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-09-02 13:02:11,497 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
2010-09-02 13:02:11,497 ERROR [STDERR]  at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
2010-09-02 13:02:11,497 ERROR [STDERR]  at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
2010-09-02 13:02:11,498 ERROR [STDERR]  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2010-09-02 13:02:11,499 ERROR [STDERR]  at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
2010-09-02 13:02:11,499 ERROR [STDERR]  at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
2010-09-02 13:02:11,499 ERROR [STDERR]  at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
2010-09-02 13:02:11,500 ERROR [STDERR]  at org.jboss.web.WebModule.startModule(WebModule.java:83)
2010-09-02 13:02:11,500 ERROR [STDERR]  at org.jboss.web.WebModule.startService(WebModule.java:61)
2010-09-02 13:02:11,500 ERROR [STDERR]  at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
2010-09-02 13:02:11,500 ERROR [STDERR]  at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
2010-09-02 13:02:11,501 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
2010-09-02 13:02:11,501 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-09-02 13:02:11,501 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
2010-09-02 13:02:11,501 ERROR [STDERR]  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2010-09-02 13:02:11,501 ERROR [STDERR]  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2010-09-02 13:02:11,501 ERROR [STDERR]  at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2010-09-02 13:02:11,501 ERROR [STDERR]  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2010-09-02 13:02:11,501 ERROR [STDERR]  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2010-09-02 13:02:11,501 ERROR [STDERR]  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
2010-09-02 13:02:11,501 ERROR [STDERR]  at $Proxy0.start(Unknown Source)
2010-09-02 13:02:11,501 ERROR [STDERR]  at org.jboss.system.ServiceController.start(ServiceController.java:417)
2010-09-02 13:02:11,502 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
2010-09-02 13:02:11,502 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-09-02 13:02:11,503 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
2010-09-02 13:02:11,503 ERROR [STDERR]  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2010-09-02 13:02:11,503 ERROR [STDERR]  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2010-09-02 13:02:11,503 ERROR [STDERR]  at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2010-09-02 13:02:11,503 ERROR [STDERR]  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2010-09-02 13:02:11,503 ERROR [STDERR]  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2010-09-02 13:02:11,503 ERROR [STDERR]  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2010-09-02 13:02:11,504 ERROR [STDERR]  at $Proxy38.start(Unknown Source)
2010-09-02 13:02:11,504 ERROR [STDERR]  at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
2010-09-02 13:02:11,504 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
2010-09-02 13:02:11,504 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-09-02 13:02:11,504 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
2010-09-02 13:02:11,504 ERROR [STDERR]  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2010-09-02 13:02:11,504 ERROR [STDERR]  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2010-09-02 13:02:11,505 ERROR [STDERR]  at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
2010-09-02 13:02:11,505 ERROR [STDERR]  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2010-09-02 13:02:11,506 ERROR [STDERR]  at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
2010-09-02 13:02:11,506 ERROR [STDERR]  at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
2010-09-02 13:02:11,506 ERROR [STDERR]  at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
2010-09-02 13:02:11,506 ERROR [STDERR]  at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
2010-09-02 13:02:11,506 ERROR [STDERR]  at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
2010-09-02 13:02:11,506 ERROR [STDERR]  at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
2010-09-02 13:02:11,506 ERROR [STDERR]  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2010-09-02 13:02:11,506 ERROR [STDERR]  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2010-09-02 13:02:11,506 ERROR [STDERR]  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2010-09-02 13:02:11,506 ERROR [STDERR]  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2010-09-02 13:02:11,506 ERROR [STDERR]  at $Proxy39.start(Unknown Source)
2010-09-02 13:02:11,506 ERROR [STDERR]  at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
2010-09-02 13:02:11,506 ERROR [STDERR]  at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
2010-09-02 13:02:11,506 ERROR [STDERR]  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
2010-09-02 13:02:11,506 ERROR [STDERR]  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
2010-09-02 13:02:11,506 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
2010-09-02 13:02:11,506 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-09-02 13:02:11,506 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
2010-09-02 13:02:11,507 ERROR [STDERR]  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2010-09-02 13:02:11,507 ERROR [STDERR]  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2010-09-02 13:02:11,507 ERROR [STDERR]  at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
2010-09-02 13:02:11,507 ERROR [STDERR]  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2010-09-02 13:02:11,507 ERROR [STDERR]  at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
2010-09-02 13:02:11,507 ERROR [STDERR]  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2010-09-02 13:02:11,507 ERROR [STDERR]  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2010-09-02 13:02:11,507 ERROR [STDERR]  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2010-09-02 13:02:11,507 ERROR [STDERR]  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2010-09-02 13:02:11,507 ERROR [STDERR]  at $Proxy8.deploy(Unknown Source)
2010-09-02 13:02:11,507 ERROR [STDERR]  at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
2010-09-02 13:02:11,507 ERROR [STDERR]  at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
2010-09-02 13:02:11,507 ERROR [STDERR]  at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
2010-09-02 13:02:11,507 ERROR [STDERR]  at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
2010-09-02 13:02:11,507 ERROR [STDERR]  at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
2010-09-02 13:02:11,507 ERROR [STDERR]  at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
2010-09-02 13:02:11,507 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
2010-09-02 13:02:11,507 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-09-02 13:02:11,507 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
2010-09-02 13:02:11,508 ERROR [STDERR]  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2010-09-02 13:02:11,508 ERROR [STDERR]  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2010-09-02 13:02:11,508 ERROR [STDERR]  at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2010-09-02 13:02:11,508 ERROR [STDERR]  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2010-09-02 13:02:11,508 ERROR [STDERR]  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2010-09-02 13:02:11,508 ERROR [STDERR]  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
2010-09-02 13:02:11,508 ERROR [STDERR]  at $Proxy0.start(Unknown Source)
2010-09-02 13:02:11,508 ERROR [STDERR]  at org.jboss.system.ServiceController.start(ServiceController.java:417)
2010-09-02 13:02:11,508 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
2010-09-02 13:02:11,509 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-09-02 13:02:11,509 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
2010-09-02 13:02:11,509 ERROR [STDERR]  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2010-09-02 13:02:11,509 ERROR [STDERR]  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2010-09-02 13:02:11,509 ERROR [STDERR]  at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2010-09-02 13:02:11,509 ERROR [STDERR]  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2010-09-02 13:02:11,510 ERROR [STDERR]  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2010-09-02 13:02:11,510 ERROR [STDERR]  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2010-09-02 13:02:11,510 ERROR [STDERR]  at $Proxy4.start(Unknown Source)
2010-09-02 13:02:11,510 ERROR [STDERR]  at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
2010-09-02 13:02:11,510 ERROR [STDERR]  at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
2010-09-02 13:02:11,510 ERROR [STDERR]  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
2010-09-02 13:02:11,510 ERROR [STDERR]  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
2010-09-02 13:02:11,510 ERROR [STDERR]  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
2010-09-02 13:02:11,510 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2010-09-02 13:02:11,510 ERROR [STDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2010-09-02 13:02:11,510 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-09-02 13:02:11,510 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
2010-09-02 13:02:11,510 ERROR [STDERR]  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2010-09-02 13:02:11,510 ERROR [STDERR]  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2010-09-02 13:02:11,511 ERROR [STDERR]  at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
2010-09-02 13:02:11,511 ERROR [STDERR]  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2010-09-02 13:02:11,511 ERROR [STDERR]  at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
2010-09-02 13:02:11,511 ERROR [STDERR]  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2010-09-02 13:02:11,511 ERROR [STDERR]  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2010-09-02 13:02:11,511 ERROR [STDERR]  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2010-09-02 13:02:11,511 ERROR [STDERR]  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2010-09-02 13:02:11,511 ERROR [STDERR]  at $Proxy5.deploy(Unknown Source)
2010-09-02 13:02:11,511 ERROR [STDERR]  at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
2010-09-02 13:02:11,511 ERROR [STDERR]  at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
2010-09-02 13:02:11,511 ERROR [STDERR]  at org.jboss.Main.boot(Main.java:200)
2010-09-02 13:02:11,512 ERROR [STDERR]  at org.jboss.Main$1.run(Main.java:490)
2010-09-02 13:02:11,512 ERROR [STDERR]  at java.lang.Thread.run(Thread.java:637)
2010-09-02 13:02:11,512 ERROR [STDERR] log4j:ERROR Could not parse url [file:/Users/dherman/Jboss-4.0.5.GA/server/csr/conf/log4j.xml].
2010-09-02 13:02:11,514 ERROR [STDERR] java.lang.NullPointerException
2010-09-02 13:02:11,515 ERROR [STDERR]  at java.util.Hashtable.put(Hashtable.java:394)
2010-09-02 13:02:11,515 ERROR [STDERR]  at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:172)
2010-09-02 13:02:11,515 ERROR [STDERR]  at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:184)
2010-09-02 13:02:11,515 ERROR [STDERR]  at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:502)
2010-09-02 13:02:11,515 ERROR [STDERR]  at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:471)
2010-09-02 13:02:11,515 ERROR [STDERR]  at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:921)
2010-09-02 13:02:11,516 ERROR [STDERR]  at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:790)
2010-09-02 13:02:11,516 ERROR [STDERR]  at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:696)
2010-09-02 13:02:11,516 ERROR [STDERR]  at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)
2010-09-02 13:02:11,516 ERROR [STDERR]  at org.apache.log4j.LogManager.<clinit>(LogManager.java:125)
2010-09-02 13:02:11,516 ERROR [STDERR]  at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)
2010-09-02 13:02:11,516 ERROR [STDERR]  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:243)
2010-09-02 13:02:11,516 ERROR [STDERR]  at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
2010-09-02 13:02:11,516 ERROR [STDERR]  at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:372)
2010-09-02 13:02:11,516 ERROR [STDERR]  at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
2010-09-02 13:02:11,516 ERROR [STDERR]  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4114)
2010-09-02 13:02:11,516 ERROR [STDERR]  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
2010-09-02 13:02:11,516 ERROR [STDERR]  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
2010-09-02 13:02:11,516 ERROR [STDERR]  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
2010-09-02 13:02:11,516 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
2010-09-02 13:02:11,516 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-09-02 13:02:11,516 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
2010-09-02 13:02:11,516 ERROR [STDERR]  at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
2010-09-02 13:02:11,517 ERROR [STDERR]  at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
2010-09-02 13:02:11,517 ERROR [STDERR]  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2010-09-02 13:02:11,517 ERROR [STDERR]  at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
2010-09-02 13:02:11,517 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
2010-09-02 13:02:11,517 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-09-02 13:02:11,517 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
2010-09-02 13:02:11,517 ERROR [STDERR]  at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
2010-09-02 13:02:11,517 ERROR [STDERR]  at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
2010-09-02 13:02:11,517 ERROR [STDERR]  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2010-09-02 13:02:11,517 ERROR [STDERR]  at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
2010-09-02 13:02:11,517 ERROR [STDERR]  at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
2010-09-02 13:02:11,517 ERROR [STDERR]  at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
2010-09-02 13:02:11,517 ERROR [STDERR]  at org.jboss.web.WebModule.startModule(WebModule.java:83)
2010-09-02 13:02:11,517 ERROR [STDERR]  at org.jboss.web.WebModule.startService(WebModule.java:61)
2010-09-02 13:02:11,517 ERROR [STDERR]  at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
2010-09-02 13:02:11,518 ERROR [STDERR]  at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
2010-09-02 13:02:11,518 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
2010-09-02 13:02:11,518 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-09-02 13:02:11,518 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
2010-09-02 13:02:11,518 ERROR [STDERR]  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2010-09-02 13:02:11,518 ERROR [STDERR]  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2010-09-02 13:02:11,518 ERROR [STDERR]  at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2010-09-02 13:02:11,518 ERROR [STDERR]  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2010-09-02 13:02:11,518 ERROR [STDERR]  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2010-09-02 13:02:11,518 ERROR [STDERR]  at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
2010-09-02 13:02:11,518 ERROR [STDERR]  at $Proxy0.start(Unknown Source)
2010-09-02 13:02:11,518 ERROR [STDERR]  at org.jboss.system.ServiceController.start(ServiceController.java:417)
2010-09-02 13:02:11,518 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
2010-09-02 13:02:11,518 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-09-02 13:02:11,518 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
2010-09-02 13:02:11,518 ERROR [STDERR]  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2010-09-02 13:02:11,518 ERROR [STDERR]  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2010-09-02 13:02:11,519 ERROR [STDERR]  at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2010-09-02 13:02:11,519 ERROR [STDERR]  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2010-09-02 13:02:11,519 ERROR [STDERR]  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2010-09-02 13:02:11,519 ERROR [STDERR]  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2010-09-02 13:02:11,519 ERROR [STDERR]  at $Proxy38.start(Unknown Source)
2010-09-02 13:02:11,519 ERROR [STDERR]  at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
2010-09-02 13:02:11,519 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
2010-09-02 13:02:11,519 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-09-02 13:02:11,519 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
2010-09-02 13:02:11,520 ERROR [STDERR]  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2010-09-02 13:02:11,520 ERROR [STDERR]  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2010-09-02 13:02:11,520 ERROR [STDERR]  at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
2010-09-02 13:02:11,520 ERROR [STDERR]  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2010-09-02 13:02:11,520 ERROR [STDERR]  at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
2010-09-02 13:02:11,521 ERROR [STDERR]  at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
2010-09-02 13:02:11,521 ERROR [STDERR]  at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
2010-09-02 13:02:11,521 ERROR [STDERR]  at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
2010-09-02 13:02:11,521 ERROR [STDERR]  at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
2010-09-02 13:02:11,521 ERROR [STDERR]  at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
2010-09-02 13:02:11,521 ERROR [STDERR]  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2010-09-02 13:02:11,521 ERROR [STDERR]  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2010-09-02 13:02:11,521 ERROR [STDERR]  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2010-09-02 13:02:11,521 ERROR [STDERR]  at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2010-09-02 13:02:11,521 ERROR [STDERR]  at $Proxy39.start(Unknown Source)
2010-09-02 13:02:11,521 ERROR [STDERR]  at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
2010-09-02 13:02:11,521 ERROR [STDERR]  at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
2010-09-02 13:02:11,521 ERROR [STDERR]  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
2010-09-02 13:02:11,521 ERROR [STDERR]  at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
2010-09-02 13:02:11,521 ERROR [STDERR]  at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
2010-09-02 13:02:11,521 ERROR [STDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2010-09-02 13:02:11,521 ERROR [STDERR]  at java.lang.reflect.Method.invoke(Method.java:597)
2010-09-02 13:02:11,522 ERROR [STDERR]  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2010-09-02 13:02:11,522 ERROR [STDERR]  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2010-09-02 13:02:11,522 ERROR [STDERR]  at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
2010-09-02 13:02:11,522 ERROR [STDERR]  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2010-09-02 13:02:11,522 ERROR [STDERR]  at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
2010-09-02 13:02:11,522 ERROR [STDERR]  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2010-09-02 13:02:11,522 ERROR [STDERR]  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
......
A: 

I'm guessing your WAR has a copy of log4j in its lib directory, and it's clashing with JBoss's own copy.

If so, remove the log4j.jar from your WAR, and try again.

skaffman
it's grails so unfortunately it's not quite that simple
dstarh