Tapestry
  1. Tapestry
  2. TAPESTRY-1333

Cannot bundle component classes & templates in WEB-INF/classes when deploying to Tomcat (& JBoss)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.3
    • Fix Version/s: 5.0.4
    • Component/s: tapestry-core
    • Labels:
      None
    • Environment:
      Tomcat 5, JBoss 4,

      Description

      As described in TAPESTRY-1287 when deploying under Tomcat/JBoss, Tapestry currently does not pick up classes which are bundled under WEB-INF\classes (when the WAR is exploded).

      I have created a new issue for this because I think I've found a solution.
      Also, although I added a patch in the comments on 1287 as it turns out that patch was broken .

      1. TAP-1333.patch
        7 kB
        Ben Sommerville
      2. TAP-1333_2.patch
        7 kB
        Ben Sommerville

        Activity

        Hide
        Howard M. Lewis Ship added a comment -

        I've applied the patch; I'll be putting up a new snapshot for people to get some exposure on it before I close out the issue.

        Show
        Howard M. Lewis Ship added a comment - I've applied the patch; I'll be putting up a new snapshot for people to get some exposure on it before I close out the issue.
        Hide
        Yann Ramin added a comment -

        I did some more testing, and it appears to work correctly now.

        Show
        Yann Ramin added a comment - I did some more testing, and it appears to work correctly now.
        Hide
        Ben Sommerville added a comment -

        I ran some more tests with this patch & I am unable to get an error to occur.

        This is what I did:

        • clean checkout of tapestry, build, install jars
        • create test project from quickstart archetype.
        • build it & deploy to jboss & confirm it works (using mvn jboss:deploy)
        • remove archiveClasses from pom
        • rebuild & deploy test project & confirm that it does not work.
        • apply patch (2) to tapestry-core
        • clean build & install of tapestry
        • clean & build test project (confirm it has picked up new t5 jars)
        • deploy to jboss & confirm that it works
        • add archiveClasses=true back to into pom
        • rebuild & deploy. Confirm it still works

        Yann, are you able to send me your homebrewed app to test?

        Show
        Ben Sommerville added a comment - I ran some more tests with this patch & I am unable to get an error to occur. This is what I did: clean checkout of tapestry, build, install jars create test project from quickstart archetype. build it & deploy to jboss & confirm it works (using mvn jboss:deploy) remove archiveClasses from pom rebuild & deploy test project & confirm that it does not work. apply patch (2) to tapestry-core clean build & install of tapestry clean & build test project (confirm it has picked up new t5 jars) deploy to jboss & confirm that it works add archiveClasses=true back to into pom rebuild & deploy. Confirm it still works Yann, are you able to send me your homebrewed app to test?
        Hide
        Yann Ramin added a comment -

        I've tried patching the current SVN version of tapestry-core, but the patch did not work for me either, though no failure messages, just silently does nothing when trying to get a page (404). This is a homebrewed version of the "quickstart" app.

        Directory structure is
        exploded/x.ear/x.war/WEB-INF/classes/...
        JBoss is set to deploy the exploded/ directory.

        Packing the JAR in WEB-INF/lib works, but JBoss/Tomcat can't do reloading or hot deployment in this case, which is very annoying.

        It would be nice if I could get this to work

        Used JBoss 4.0.5

        Show
        Yann Ramin added a comment - I've tried patching the current SVN version of tapestry-core, but the patch did not work for me either, though no failure messages, just silently does nothing when trying to get a page (404). This is a homebrewed version of the "quickstart" app. Directory structure is exploded/x.ear/x.war/WEB-INF/classes/... JBoss is set to deploy the exploded/ directory. Packing the JAR in WEB-INF/lib works, but JBoss/Tomcat can't do reloading or hot deployment in this case, which is very annoying. It would be nice if I could get this to work Used JBoss 4.0.5
        Hide
        Ben Sommerville added a comment -

        Some further info.

        "org.jboss.logging.util.OnlyOnceErrorHandler" is configured by the JBoss log4j.xml found under server/default/conf. My guess is that war doesn't have a log4j config file bundled & it is picking up the JBoss one. Then the web app log4j tries to assign a class loaded by the root JBoss loader to a the web app log4j error handler... thus giving the ClassCastException

        And an observation.
        The workaround is really good if you are using maven to build/deploy. Unfortunately a lot of other tools don't have the option of packaging WEB-INF/classes as a jar......
        (which is what motivated me to try & fix the problem)

        Show
        Ben Sommerville added a comment - Some further info. "org.jboss.logging.util.OnlyOnceErrorHandler" is configured by the JBoss log4j.xml found under server/default/conf. My guess is that war doesn't have a log4j config file bundled & it is picking up the JBoss one. Then the web app log4j tries to assign a class loaded by the root JBoss loader to a the web app log4j error handler... thus giving the ClassCastException And an observation. The workaround is really good if you are using maven to build/deploy. Unfortunately a lot of other tools don't have the option of packaging WEB-INF/classes as a jar...... (which is what motivated me to try & fix the problem)
        Hide
        Ben Sommerville added a comment -

        Hmm, I've been working without problems under JBoss 4.0.5 with this patch for the last few weeks.

        I'm guessing from the stack trace that your test war is bundling log4j in its lib. If you remove log4j from the war do you still get errors?

        I've tended not to bundle log4j under JBoss as more often than not I get class loader problems (or certain classes not logging at all).

        Alternatively if you can point me at whatever app you were using to test I'll try to chase down the problem myself. & report back

        PS: were you using JBoss 4.0.2 or 4.0.5?

        Show
        Ben Sommerville added a comment - Hmm, I've been working without problems under JBoss 4.0.5 with this patch for the last few weeks. I'm guessing from the stack trace that your test war is bundling log4j in its lib. If you remove log4j from the war do you still get errors? I've tended not to bundle log4j under JBoss as more often than not I get class loader problems (or certain classes not logging at all). Alternatively if you can point me at whatever app you were using to test I'll try to chase down the problem myself. & report back PS: were you using JBoss 4.0.2 or 4.0.5?
        Hide
        Howard M. Lewis Ship added a comment -

        Not working so well in JBoss 4.0.5.

        21:33:38,062 INFO [TomcatDeployer] deploy, ctxPath=/baz, warUrl=.../tmp/deploy/tmp42006baz-exp.war/
        21:33:38,155 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable.
        21:33:38,155 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by
        21:33:38,155 ERROR [STDERR] log4j:ERROR [WebappClassLoader
        delegate: false
        repositories:
        /WEB-INF/classes/
        ----------> Parent Classloader:
        java.net.FactoryURLClassLoader@856a79
        ] whereas object of type
        21:33:38,155 ERROR [STDERR] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@e04cbf].
        21:33:38,178 ERROR [STDERR] log4j:ERROR Could not create an Appender. Reported error follows.
        21:33:38,179 ERROR [STDERR] java.lang.ClassCastException: org.jboss.logging.appender.DailyRollingFileAppender
        21:33:38,179 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:165)
        21:33:38,179 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
        21:33:38,179 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
        21:33:38,179 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
        21:33:38,180 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
        21:33:38,180 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
        21:33:38,180 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
        21:33:38,180 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
        21:33:38,180 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
        21:33:38,180 ERROR [STDERR] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
        21:33:38,180 ERROR [STDERR] at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
        21:33:38,180 ERROR [STDERR] at org.apache.log4j.Logger.getLogger(Logger.java:94)
        21:33:38,180 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        21:33:38,180 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        21:33:38,180 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,180 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,180 ERROR [STDERR] at org.apache.commons.logging.impl.Log4jProxy.<init>(Log4jProxy.java:132)
        21:33:38,180 ERROR [STDERR] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:39)
        21:33:38,181 ERROR [STDERR] at sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown Source)
        21:33:38,181 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        21:33:38,181 ERROR [STDERR] at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        21:33:38,181 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
        21:33:38,181 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
        21:33:38,181 ERROR [STDERR] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:372)
        21:33:38,181 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
        21:33:38,181 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4114)
        21:33:38,182 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        21:33:38,182 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        21:33:38,182 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        21:33:38,182 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        21:33:38,182 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        21:33:38,182 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,182 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,182 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
        21:33:38,182 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
        21:33:38,182 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,182 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
        21:33:38,182 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        21:33:38,183 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        21:33:38,183 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,183 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,183 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
        21:33:38,183 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
        21:33:38,183 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,183 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
        21:33:38,183 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
        21:33:38,183 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
        21:33:38,183 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
        21:33:38,183 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
        21:33:38,183 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
        21:33:38,183 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
        21:33:38,184 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        21:33:38,184 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,184 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,184 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        21:33:38,184 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        21:33:38,184 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        21:33:38,184 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        21:33:38,184 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,184 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
        21:33:38,184 ERROR [STDERR] at $Proxy0.start(Unknown Source)
        21:33:38,184 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
        21:33:38,184 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
        21:33:38,184 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,184 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,184 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        21:33:38,185 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        21:33:38,185 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        21:33:38,185 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        21:33:38,185 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,185 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        21:33:38,185 ERROR [STDERR] at $Proxy37.start(Unknown Source)
        21:33:38,185 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
        21:33:38,185 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        21:33:38,185 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        21:33:38,185 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,185 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,185 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        21:33:38,185 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        21:33:38,185 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        21:33:38,186 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        21:33:38,186 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        21:33:38,186 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
        21:33:38,186 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
        21:33:38,186 ERROR [STDERR] at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
        21:33:38,186 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
        21:33:38,186 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
        21:33:38,186 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        21:33:38,186 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        21:33:38,186 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,186 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        21:33:38,186 ERROR [STDERR] at $Proxy38.start(Unknown Source)
        21:33:38,186 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
        21:33:38,186 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
        21:33:38,186 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
        21:33:38,187 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
        21:33:38,187 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,187 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,187 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        21:33:38,187 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        21:33:38,187 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        21:33:38,187 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        21:33:38,187 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        21:33:38,187 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        21:33:38,187 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        21:33:38,187 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,187 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        21:33:38,187 ERROR [STDERR] at $Proxy8.deploy(Unknown Source)
        21:33:38,188 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
        21:33:38,188 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
        21:33:38,188 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
        21:33:38,188 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
        21:33:38,188 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
        21:33:38,188 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
        21:33:38,188 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        21:33:38,188 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,188 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,188 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        21:33:38,188 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        21:33:38,188 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        21:33:38,188 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        21:33:38,188 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,189 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
        21:33:38,189 ERROR [STDERR] at $Proxy0.start(Unknown Source)
        21:33:38,189 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
        21:33:38,189 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
        21:33:38,189 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,189 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,189 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        21:33:38,189 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        21:33:38,189 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        21:33:38,189 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        21:33:38,189 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,189 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        21:33:38,189 ERROR [STDERR] at $Proxy4.start(Unknown Source)
        21:33:38,189 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
        21:33:38,190 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
        21:33:38,190 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
        21:33:38,190 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
        21:33:38,190 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
        21:33:38,190 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        21:33:38,190 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        21:33:38,190 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,190 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,190 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        21:33:38,190 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        21:33:38,190 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        21:33:38,190 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        21:33:38,190 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        21:33:38,191 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        21:33:38,191 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        21:33:38,191 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,191 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        21:33:38,191 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
        21:33:38,191 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        21:33:38,191 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        21:33:38,191 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
        21:33:38,191 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:490)
        21:33:38,191 ERROR [STDERR] at java.lang.Thread.run(Thread.java:613)
        21:33:38,191 ERROR [STDERR] log4j:ERROR Could not parse input source [org.xml.sax.InputSource@a7131].
        21:33:38,191 ERROR [STDERR] java.lang.NullPointerException
        21:33:38,192 ERROR [STDERR] at java.util.Hashtable.put(Hashtable.java:396)
        21:33:38,192 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:141)
        21:33:38,192 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
        21:33:38,192 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
        21:33:38,192 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
        21:33:38,192 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
        21:33:38,192 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
        21:33:38,192 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
        21:33:38,192 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
        21:33:38,192 ERROR [STDERR] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
        21:33:38,193 ERROR [STDERR] at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
        21:33:38,193 ERROR [STDERR] at org.apache.log4j.Logger.getLogger(Logger.java:94)
        21:33:38,193 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        21:33:38,193 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        21:33:38,193 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,193 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,194 ERROR [STDERR] at org.apache.commons.logging.impl.Log4jProxy.<init>(Log4jProxy.java:132)
        21:33:38,194 ERROR [STDERR] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:39)
        21:33:38,194 ERROR [STDERR] at sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown Source)
        21:33:38,194 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        21:33:38,194 ERROR [STDERR] at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        21:33:38,194 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
        21:33:38,194 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
        21:33:38,194 ERROR [STDERR] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:372)
        21:33:38,195 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
        21:33:38,195 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4114)
        21:33:38,195 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
        21:33:38,195 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
        21:33:38,195 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
        21:33:38,195 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        21:33:38,195 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        21:33:38,195 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,195 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,195 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
        21:33:38,195 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
        21:33:38,195 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,195 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
        21:33:38,195 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        21:33:38,195 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        21:33:38,196 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,196 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,196 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
        21:33:38,196 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
        21:33:38,196 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,196 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
        21:33:38,196 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
        21:33:38,196 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
        21:33:38,196 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
        21:33:38,196 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
        21:33:38,196 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
        21:33:38,196 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
        21:33:38,196 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        21:33:38,196 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,197 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,197 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        21:33:38,197 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        21:33:38,197 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        21:33:38,197 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        21:33:38,197 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,197 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
        21:33:38,197 ERROR [STDERR] at $Proxy0.start(Unknown Source)
        21:33:38,197 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
        21:33:38,197 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
        21:33:38,197 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,197 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,197 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        21:33:38,198 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        21:33:38,198 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        21:33:38,198 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        21:33:38,198 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,198 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        21:33:38,198 ERROR [STDERR] at $Proxy37.start(Unknown Source)
        21:33:38,198 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
        21:33:38,198 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        21:33:38,198 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        21:33:38,198 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,198 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,198 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        21:33:38,198 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        21:33:38,198 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        21:33:38,199 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        21:33:38,199 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        21:33:38,199 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
        21:33:38,199 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
        21:33:38,199 ERROR [STDERR] at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
        21:33:38,199 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
        21:33:38,199 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
        21:33:38,199 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        21:33:38,199 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        21:33:38,199 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,199 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        21:33:38,199 ERROR [STDERR] at $Proxy38.start(Unknown Source)
        21:33:38,199 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
        21:33:38,200 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
        21:33:38,200 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
        21:33:38,200 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
        21:33:38,200 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,200 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,200 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        21:33:38,200 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        21:33:38,200 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        21:33:38,200 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        21:33:38,200 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        21:33:38,200 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        21:33:38,200 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        21:33:38,200 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,200 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        21:33:38,201 ERROR [STDERR] at $Proxy8.deploy(Unknown Source)
        21:33:38,201 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
        21:33:38,201 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
        21:33:38,201 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
        21:33:38,201 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
        21:33:38,201 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
        21:33:38,201 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
        21:33:38,201 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        21:33:38,201 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,201 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,201 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        21:33:38,201 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        21:33:38,201 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        21:33:38,201 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        21:33:38,202 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,202 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
        21:33:38,202 ERROR [STDERR] at $Proxy0.start(Unknown Source)
        21:33:38,202 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
        21:33:38,202 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
        21:33:38,202 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,202 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,202 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        21:33:38,202 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        21:33:38,202 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        21:33:38,202 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        21:33:38,202 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,202 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        21:33:38,202 ERROR [STDERR] at $Proxy4.start(Unknown Source)
        21:33:38,203 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
        21:33:38,203 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
        21:33:38,203 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
        21:33:38,203 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
        21:33:38,203 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
        21:33:38,203 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        21:33:38,203 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        21:33:38,203 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        21:33:38,203 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
        21:33:38,203 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        21:33:38,203 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        21:33:38,203 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        21:33:38,203 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        21:33:38,203 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        21:33:38,203 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        21:33:38,204 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        21:33:38,204 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        21:33:38,204 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
        21:33:38,204 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
        21:33:38,204 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
        21:33:38,204 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
        21:33:38,204 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
        21:33:38,204 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:490)
        21:33:38,204 ERROR [STDERR] at java.lang.Thread.run(Thread.java:613)
        21:33:39,082 INFO [STDOUT] 21:33:39,082 INFO [TapestryFilter] Startup time: 264 ms to build IoC Registry, 758 ms overall.

        The app runs but doesn't see the application Start page. The ExceptionReport page does work . So the patch doesn't seem to work in JBoss 4.0.2.

        Given that there's a good workaround, the way Maven can package WEB-INF/classes as a JAR under WEB-INF/lib ... well, this isn't looking too viable. I don't want to introduce a bunch of untested code if it doesn't work.

        Show
        Howard M. Lewis Ship added a comment - Not working so well in JBoss 4.0.5. 21:33:38,062 INFO [TomcatDeployer] deploy, ctxPath=/baz, warUrl=.../tmp/deploy/tmp42006baz-exp.war/ 21:33:38,155 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable. 21:33:38,155 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by 21:33:38,155 ERROR [STDERR] log4j:ERROR [WebappClassLoader delegate: false repositories: /WEB-INF/classes/ ----------> Parent Classloader: java.net.FactoryURLClassLoader@856a79 ] whereas object of type 21:33:38,155 ERROR [STDERR] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@e04cbf] . 21:33:38,178 ERROR [STDERR] log4j:ERROR Could not create an Appender. Reported error follows. 21:33:38,179 ERROR [STDERR] java.lang.ClassCastException: org.jboss.logging.appender.DailyRollingFileAppender 21:33:38,179 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:165) 21:33:38,179 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140) 21:33:38,179 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153) 21:33:38,179 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415) 21:33:38,180 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384) 21:33:38,180 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783) 21:33:38,180 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666) 21:33:38,180 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616) 21:33:38,180 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602) 21:33:38,180 ERROR [STDERR] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460) 21:33:38,180 ERROR [STDERR] at org.apache.log4j.LogManager.<clinit>(LogManager.java:113) 21:33:38,180 ERROR [STDERR] at org.apache.log4j.Logger.getLogger(Logger.java:94) 21:33:38,180 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 21:33:38,180 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 21:33:38,180 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,180 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,180 ERROR [STDERR] at org.apache.commons.logging.impl.Log4jProxy.<init>(Log4jProxy.java:132) 21:33:38,180 ERROR [STDERR] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:39) 21:33:38,181 ERROR [STDERR] at sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown Source) 21:33:38,181 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) 21:33:38,181 ERROR [STDERR] at java.lang.reflect.Constructor.newInstance(Constructor.java:494) 21:33:38,181 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) 21:33:38,181 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) 21:33:38,181 ERROR [STDERR] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:372) 21:33:38,181 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380) 21:33:38,181 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4114) 21:33:38,182 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) 21:33:38,182 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) 21:33:38,182 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) 21:33:38,182 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 21:33:38,182 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 21:33:38,182 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,182 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,182 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) 21:33:38,182 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) 21:33:38,182 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,182 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052) 21:33:38,182 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 21:33:38,183 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 21:33:38,183 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,183 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,183 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) 21:33:38,183 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) 21:33:38,183 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,183 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297) 21:33:38,183 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103) 21:33:38,183 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371) 21:33:38,183 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83) 21:33:38,183 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61) 21:33:38,183 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) 21:33:38,183 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) 21:33:38,184 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) 21:33:38,184 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,184 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,184 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 21:33:38,184 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 21:33:38,184 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) 21:33:38,184 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 21:33:38,184 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,184 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) 21:33:38,184 ERROR [STDERR] at $Proxy0.start(Unknown Source) 21:33:38,184 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417) 21:33:38,184 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) 21:33:38,184 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,184 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,184 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 21:33:38,185 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 21:33:38,185 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) 21:33:38,185 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 21:33:38,185 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,185 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 21:33:38,185 ERROR [STDERR] at $Proxy37.start(Unknown Source) 21:33:38,185 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) 21:33:38,185 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 21:33:38,185 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 21:33:38,185 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,185 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,185 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 21:33:38,185 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 21:33:38,185 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) 21:33:38,186 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 21:33:38,186 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) 21:33:38,186 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) 21:33:38,186 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) 21:33:38,186 ERROR [STDERR] at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92) 21:33:38,186 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) 21:33:38,186 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) 21:33:38,186 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 21:33:38,186 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 21:33:38,186 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,186 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 21:33:38,186 ERROR [STDERR] at $Proxy38.start(Unknown Source) 21:33:38,186 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) 21:33:38,186 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) 21:33:38,186 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) 21:33:38,187 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) 21:33:38,187 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,187 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,187 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 21:33:38,187 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 21:33:38,187 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) 21:33:38,187 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 21:33:38,187 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) 21:33:38,187 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 21:33:38,187 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 21:33:38,187 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,187 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 21:33:38,187 ERROR [STDERR] at $Proxy8.deploy(Unknown Source) 21:33:38,188 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) 21:33:38,188 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) 21:33:38,188 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) 21:33:38,188 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) 21:33:38,188 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) 21:33:38,188 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) 21:33:38,188 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) 21:33:38,188 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,188 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,188 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 21:33:38,188 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 21:33:38,188 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) 21:33:38,188 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 21:33:38,188 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,189 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) 21:33:38,189 ERROR [STDERR] at $Proxy0.start(Unknown Source) 21:33:38,189 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417) 21:33:38,189 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) 21:33:38,189 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,189 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,189 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 21:33:38,189 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 21:33:38,189 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) 21:33:38,189 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 21:33:38,189 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,189 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 21:33:38,189 ERROR [STDERR] at $Proxy4.start(Unknown Source) 21:33:38,189 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) 21:33:38,190 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) 21:33:38,190 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) 21:33:38,190 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) 21:33:38,190 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) 21:33:38,190 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 21:33:38,190 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 21:33:38,190 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,190 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,190 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 21:33:38,190 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 21:33:38,190 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) 21:33:38,190 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 21:33:38,190 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) 21:33:38,191 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 21:33:38,191 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 21:33:38,191 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,191 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 21:33:38,191 ERROR [STDERR] at $Proxy5.deploy(Unknown Source) 21:33:38,191 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) 21:33:38,191 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) 21:33:38,191 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200) 21:33:38,191 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:490) 21:33:38,191 ERROR [STDERR] at java.lang.Thread.run(Thread.java:613) 21:33:38,191 ERROR [STDERR] log4j:ERROR Could not parse input source [org.xml.sax.InputSource@a7131] . 21:33:38,191 ERROR [STDERR] java.lang.NullPointerException 21:33:38,192 ERROR [STDERR] at java.util.Hashtable.put(Hashtable.java:396) 21:33:38,192 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:141) 21:33:38,192 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153) 21:33:38,192 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415) 21:33:38,192 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384) 21:33:38,192 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783) 21:33:38,192 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666) 21:33:38,192 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616) 21:33:38,192 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602) 21:33:38,192 ERROR [STDERR] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460) 21:33:38,193 ERROR [STDERR] at org.apache.log4j.LogManager.<clinit>(LogManager.java:113) 21:33:38,193 ERROR [STDERR] at org.apache.log4j.Logger.getLogger(Logger.java:94) 21:33:38,193 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 21:33:38,193 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 21:33:38,193 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,193 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,194 ERROR [STDERR] at org.apache.commons.logging.impl.Log4jProxy.<init>(Log4jProxy.java:132) 21:33:38,194 ERROR [STDERR] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:39) 21:33:38,194 ERROR [STDERR] at sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown Source) 21:33:38,194 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) 21:33:38,194 ERROR [STDERR] at java.lang.reflect.Constructor.newInstance(Constructor.java:494) 21:33:38,194 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) 21:33:38,194 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) 21:33:38,194 ERROR [STDERR] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:372) 21:33:38,195 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380) 21:33:38,195 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4114) 21:33:38,195 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) 21:33:38,195 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) 21:33:38,195 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) 21:33:38,195 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 21:33:38,195 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 21:33:38,195 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,195 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,195 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) 21:33:38,195 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) 21:33:38,195 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,195 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052) 21:33:38,195 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 21:33:38,195 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 21:33:38,196 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,196 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,196 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) 21:33:38,196 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) 21:33:38,196 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,196 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297) 21:33:38,196 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103) 21:33:38,196 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371) 21:33:38,196 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83) 21:33:38,196 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61) 21:33:38,196 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) 21:33:38,196 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) 21:33:38,196 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) 21:33:38,196 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,197 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,197 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 21:33:38,197 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 21:33:38,197 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) 21:33:38,197 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 21:33:38,197 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,197 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) 21:33:38,197 ERROR [STDERR] at $Proxy0.start(Unknown Source) 21:33:38,197 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417) 21:33:38,197 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) 21:33:38,197 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,197 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,197 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 21:33:38,198 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 21:33:38,198 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) 21:33:38,198 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 21:33:38,198 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,198 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 21:33:38,198 ERROR [STDERR] at $Proxy37.start(Unknown Source) 21:33:38,198 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) 21:33:38,198 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 21:33:38,198 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 21:33:38,198 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,198 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,198 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 21:33:38,198 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 21:33:38,198 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) 21:33:38,199 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 21:33:38,199 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) 21:33:38,199 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) 21:33:38,199 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) 21:33:38,199 ERROR [STDERR] at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92) 21:33:38,199 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) 21:33:38,199 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) 21:33:38,199 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 21:33:38,199 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 21:33:38,199 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,199 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 21:33:38,199 ERROR [STDERR] at $Proxy38.start(Unknown Source) 21:33:38,199 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) 21:33:38,200 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) 21:33:38,200 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) 21:33:38,200 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) 21:33:38,200 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,200 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,200 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 21:33:38,200 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 21:33:38,200 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) 21:33:38,200 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 21:33:38,200 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) 21:33:38,200 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 21:33:38,200 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 21:33:38,200 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,200 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 21:33:38,201 ERROR [STDERR] at $Proxy8.deploy(Unknown Source) 21:33:38,201 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) 21:33:38,201 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) 21:33:38,201 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) 21:33:38,201 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) 21:33:38,201 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) 21:33:38,201 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) 21:33:38,201 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) 21:33:38,201 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,201 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,201 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 21:33:38,201 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 21:33:38,201 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) 21:33:38,201 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 21:33:38,202 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,202 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) 21:33:38,202 ERROR [STDERR] at $Proxy0.start(Unknown Source) 21:33:38,202 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417) 21:33:38,202 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) 21:33:38,202 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,202 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,202 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 21:33:38,202 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 21:33:38,202 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) 21:33:38,202 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 21:33:38,202 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,202 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 21:33:38,202 ERROR [STDERR] at $Proxy4.start(Unknown Source) 21:33:38,203 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) 21:33:38,203 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) 21:33:38,203 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) 21:33:38,203 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) 21:33:38,203 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) 21:33:38,203 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 21:33:38,203 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 21:33:38,203 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 21:33:38,203 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 21:33:38,203 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 21:33:38,203 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 21:33:38,203 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) 21:33:38,203 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 21:33:38,203 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) 21:33:38,203 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 21:33:38,204 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 21:33:38,204 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 21:33:38,204 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 21:33:38,204 ERROR [STDERR] at $Proxy5.deploy(Unknown Source) 21:33:38,204 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) 21:33:38,204 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) 21:33:38,204 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200) 21:33:38,204 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:490) 21:33:38,204 ERROR [STDERR] at java.lang.Thread.run(Thread.java:613) 21:33:39,082 INFO [STDOUT] 21:33:39,082 INFO [TapestryFilter] Startup time: 264 ms to build IoC Registry, 758 ms overall. The app runs but doesn't see the application Start page. The ExceptionReport page does work . So the patch doesn't seem to work in JBoss 4.0.2. Given that there's a good workaround, the way Maven can package WEB-INF/classes as a JAR under WEB-INF/lib ... well, this isn't looking too viable. I don't want to introduce a bunch of untested code if it doesn't work.
        Hide
        Howard M. Lewis Ship added a comment -

        I'm applying the patch and will try it with a normal deployment under Tomcat and/or JBoss 4.0.5.

        Show
        Howard M. Lewis Ship added a comment - I'm applying the patch and will try it with a normal deployment under Tomcat and/or JBoss 4.0.5.
        Hide
        Ben Sommerville added a comment -

        Patch updated for new class name (ClassNameLocatorImpl)

        Show
        Ben Sommerville added a comment - Patch updated for new class name (ClassNameLocatorImpl)
        Hide
        Howard M. Lewis Ship added a comment -

        Can you post an updated patch, or even just patched version of the code (for me to make the changes) ... the class name changed recently so I can't apply the existing patch.

        Show
        Howard M. Lewis Ship added a comment - Can you post an updated patch, or even just patched version of the code (for me to make the changes) ... the class name changed recently so I can't apply the existing patch.
        Hide
        Ben Sommerville added a comment -

        Fixes locating of classes in WEB-INF/classes under Tomcat/JBoss

        Based on the following code from the facelets project
        https://facelets.dev.java.net/source/browse/facelets/src/java/com/sun/facelets/util/Classpath.java?view=markup

        Tested under JBoss 4.0.5.
        Needs to be tested in other environments.

        Show
        Ben Sommerville added a comment - Fixes locating of classes in WEB-INF/classes under Tomcat/JBoss Based on the following code from the facelets project https://facelets.dev.java.net/source/browse/facelets/src/java/com/sun/facelets/util/Classpath.java?view=markup Tested under JBoss 4.0.5. Needs to be tested in other environments.

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Ben Sommerville
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development