6 Replies Latest reply on Dec 11, 2008 9:01 AM by Diego Coronel

    Cant use commons-digester

    Diego Coronel Apprentice

      Hi, im using JBoss 4.2.2 and my seam application is working perfectly, but when i tried same application (EAR) with JBoss AS 5 im getting problem with commons-digester-1.8.jar,

      2008-12-09 13:56:46,772 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] (main) Unsanitized stacktrace from failed start...
      com.sun.faces.config.ConfigurationException: Factory 'javax.faces.render.RenderKitFactory' was not configured properly.
      at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:188)
      at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:131)
      at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:203)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196)
      at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:75)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
      at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
      at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
      at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
      at $Proxy36.start(Unknown Source)
      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
      at org.jboss.system.ServiceController.start(ServiceController.java:460)
      at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
      at org.jboss.Main.boot(Main.java:209)
      at org.jboss.Main$1.run(Main.java:547)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: javax.faces.FacesException: org.ajax4jsf.renderkit.ChameleonRenderKitFactory
      at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:526)
      at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:405)
      at javax.faces.FactoryFinder.access$400(FactoryFinder.java:135)
      at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:717)
      at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:239)
      at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:186)
      ... 63 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:519)
      ... 68 more
      Caused by: java.lang.LinkageError: loader constraint violation: when resolving overridden method "org.apache.commons.digester.Digester.fatalError(Lorg/xml/sax/SAXParseException;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/apache/commons/digester/Digester, and its superclass loader (instance of ), have different Class objects for the type org/xml/sax/SAXParseException used in the signature
      at org.ajax4jsf.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:155)
      at org.ajax4jsf.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:139)
      at org.ajax4jsf.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java:210)
      at org.ajax4jsf.renderkit.ChameleonRenderKitFactory.(ChameleonRenderKitFactory.java:62)
      ... 73 more
      2008-12-09 13:56:46,775 DEBUG [javax.enterprise.resource.webcontainer.jsf.timing] (main) [TIMING] - [689ms] : Initialization of context /idoctor
      2008-12-09 13:56:46,775 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/idoctor]] (main) Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
      com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! loader constraint violation: when resolving overridden method "org.apache.commons.digester.Digester.fatalError(Lorg/xml/sax/SAXParseException;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/apache/commons/digester/Digester, and its superclass loader (instance of ), have different Class objects for the type org/xml/sax/SAXParseException used in the signature
      at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:213)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196)
      at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:75)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
      at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
      at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
      at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
      at $Proxy36.start(Unknown Source)
      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
      at org.jboss.system.ServiceController.start(ServiceController.java:460)
      at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
      at org.jboss.Main.boot(Main.java:209)
      at org.jboss.Main$1.run(Main.java:547)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.LinkageError: loader constraint violation: when resolving overridden method "org.apache.commons.digester.Digester.fatalError(Lorg/xml/sax/SAXParseException;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/apache/commons/digester/Digester, and its superclass loader (instance of ), have different Class objects for the type org/xml/sax/SAXParseException used in the signature
      at org.ajax4jsf.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:155)
      at org.ajax4jsf.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:139)
      at org.ajax4jsf.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java:210)
      at org.ajax4jsf.renderkit.ChameleonRenderKitFactory.(ChameleonRenderKitFactory.java:62)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:519)
      at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:405)
      at javax.faces.FactoryFinder.access$400(FactoryFinder.java:135)
      at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:717)
      at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:239)
      at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:186)
      at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:131)
      at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:203)
      ... 61 more

        • 1. Re: Cant use commons-digester
          Stan Silvert Master

          What happens when you remove commons-digester from your deployment?

          Stan

          • 2. Re: Cant use commons-digester
            Diego Coronel Apprentice

            Hi, ty for anwser..... but without commons-digester.jar im getting this error:

            2008-12-10 16:09:01,891 DEBUG [javax.enterprise.resource.webcontainer.jsf.config] (main) Unsanitized stacktrace from failed start...
            com.sun.faces.config.ConfigurationException: Factory 'javax.faces.render.RenderKitFactory' was not configured properly.
            at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:188)
            at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:131)
            at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:203)
            at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196)
            at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:75)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
            at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
            at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
            at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
            at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
            at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
            at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
            at $Proxy36.start(Unknown Source)
            at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
            at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
            at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
            at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
            at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
            at org.jboss.system.ServiceController.start(ServiceController.java:460)
            at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
            at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
            at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
            at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
            at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
            at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
            at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
            at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
            at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
            at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
            at org.jboss.Main.boot(Main.java:209)
            at org.jboss.Main$1.run(Main.java:547)
            at java.lang.Thread.run(Thread.java:619)
            Caused by: javax.faces.FacesException: org.ajax4jsf.renderkit.ChameleonRenderKitFactory
            at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:526)
            at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:405)
            at javax.faces.FactoryFinder.access$400(FactoryFinder.java:135)
            at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:717)
            at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:239)
            at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:186)
            ... 63 more
            Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:519)
            ... 68 more
            Caused by: java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
            at org.ajax4jsf.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:155)
            at org.ajax4jsf.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:139)
            at org.ajax4jsf.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java:210)
            at org.ajax4jsf.renderkit.ChameleonRenderKitFactory.(ChameleonRenderKitFactory.java:62)
            ... 73 more
            Caused by: java.lang.ClassNotFoundException: org.apache.commons.digester.Digester from BaseClassLoader@134d801{VFSClassLoaderPolicy@513bb5{name=vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/jdoctor.ear/jdoctor_web.war/ domain=ClassLoaderDomain@81f25{name=vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/jdoctor.ear/jdoctor_web.war/ parentPolicy=AFTER_BUT_JAVA_BEFORE parent=BaseClassLoader@2f94e{vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/jdoctor.ear/}} roots=[FileHandler@19339904[path=jdoctor.ear/jdoctor_web.war/WEB-INF/classes context=file:/C:/jboss-5.0.0.GA/server/default/deploy/ real=file:/C:/jboss-5.0.0.GA/server/default/deploy/jdoctor.ear/jdoctor_web.war/WEB-INF/classes/], DelegatingHandler@3992561[path=jdoctor.ear/jdoctor_web.war/WEB-INF/lib/acegi-security-1.0.6.jar context=file:/C:/jboss-5.0.0.GA/server/default/deploy/ real=file:/C:/jboss-5.0.0.GA/server/default/deploy/jdoctor.ear/jdoctor_web.war/WEB-INF/lib/acegi-security-1.0.6.jar], DelegatingHandler@27671068[path=jdoctor.ear/jdoctor_web.war/WEB-INF/lib/chartengineapi-2.2.1.r221_v20070911.jar context=file:/C:/jboss-5.0.0.GA/server/default/deploy/ r...

            ...latform.plugins.org.eclipse.birt.report.engine_2.2.1.r22x_v20070924.jar.org.eclipse.birt.report.engine.internal.content.wrap, org.acegisecurity.ui.x509, platform.plugins.org.eclipse.birt.chart.engine_2.2.1.r221_v20070911.jar.org.eclipse.birt.chart.api, org.eclipse.emf.ecore.xml.type.impl, org.jboss.seam.interop.jul, platform.plugins.org.eclipse.birt.data_2.2.1.r22x_v20070925.jar.org.eclipse.birt.data.engine.olap.api.query, platform.plugins.org.eclipse.birt.report.data.oda.sampledb_2.2.1.r22x_v20070919.META-INF, platform.plugins.org.eclipse.birt.report.engine.emitter.postscript_2.2.1.v20070823.jar.META-INF, org.apache.commons.codec.digest, org.eclipse.birt.report.model.api.css, com.lowagie.bc.asn1, platform.plugins.org.apache.xerces_2.8.0.v200705301630.jar.javax.xml.transform.dom, platform.plugins.org.mozilla.rhino_1.6.0.v20070710.about_files, platform.plugins.org.apache.batik.css_1.6.0.v200706111724.jar, platform.plugins.org.eclipse.osgi_3.3.1.R33x_v20070828.jar.org.eclipse.osgi.internal.module, platform.plugins.org.w3c.dom.smil_1.0.0.v200706111724.jar.about_files, org.richfaces.event.scroll, org.mozilla.javascript.continuations, platform.plugins.org.eclipse.core.contenttype_3.2.100.v20070319.jar.org.eclipse.core.internal.content, org.mozilla.javascript.tools.debugger, org.xhtmlrenderer.css.extend.lib, platform.plugins.org.eclipse.birt.report.engine.emitter.prototype.excel_2.2.1.r22x_v20070914.jar.org.eclipse.birt.report.engine.emitter.excel.chart, platform.plugins.org.eclipse.emf_2.2.0.v200702131851.jar.META-INF, org.acegisecurity.providers.cas.populator, org.richfaces.ui.renderkit.html.css, FCKeditor.editor.skins.office2003.images] <IMPORT-ALL>NON_EMPTY}}
            at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:213)
            at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196)
            at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:75)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
            at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
            at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
            at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
            at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
            at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
            at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
            at $Proxy36.start(Unknown Source)
            at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
            at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
            at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
            at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
            at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
            at org.jboss.system.ServiceController.start(ServiceController.java:460)
            at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
            at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
            at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
            at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
            at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
            at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
            at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
            at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
            at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
            at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
            at org.jboss.Main.boot(Main.java:209)
            at org.jboss.Main$1.run(Main.java:547)
            at java.lang.Thread.run(Thread.java:619)
            Caused by: java.lang.ClassNotFoundException: org.apache.commons.digester.Digester from BaseClassLoader@134d801{VFSClassLoaderPolicy@513bb5{name=vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/jdoctor.ear/jdoctor_web.war/ domain=ClassLoaderDomain@81f25{name=vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/jdoctor.ear/jdoctor_web.war/ parentPolicy=AFTER_BUT_JAVA_BEFORE parent=BaseClassLoader@2f94e{vfsfile:/C:/jboss-5.0.0.GA/server/default/deploy/jdoctor.ear/}} roots=[FileHandler@19339904[path=jdoctor.ear/jdoctor_web.war/WEB-INF/classes context=file:/C:/jboss-5.0.0.GA/server/default/deploy/ real=file:/C:/jboss-5.0.0.GA/server/default/deploy/jdoctor.ear/jdoctor_web.war/WEB-INF/classes/], DelegatingHandler@3992561[path=jdoctor.ear/jdoctor_web.war/WEB-INF/lib/acegi-security-1.0.6.jar context=file:/C:/jboss-5.0.0.GA/server/default/deploy/ real=file:/C:/jboss-5.0.0.GA/server/default/deploy/jdoctor.ear/jdoctor_web.war/WEB-INF/lib/acegi-security-1.0.6.jar], DelegatingHandler@27671068[path=jdoctor.ear/jdoctor_web.war/WEB-INF/lib/chartengineapi-2.2.1.r221_v20070911.jar context=file:/C:/jboss-5.0.0.GA/server/default/deploy/ real=file:/C:/jboss-5.0.0.GA/server/default/deploy/jdoctor.ear/jdoctor_web.war/WEB-INF/lib/chartengineapi-2.2.1.r221_v20070911.jar], DelegatingHandler@3221238[path=jdoctor.ear/jdoctor_web.war/WEB-INF/lib/com.ibm.icu-3.6.1.v20070906.jar context=file:/C:/jboss-5.0.0.GA/server/default/deploy/ real=file:/C:/jboss-5.0.0.GA/server/default/deploy/jdoctor.ear/jdoctor_web.war/WEB-INF/lib/com.ibm.icu-3.6.1.v20070906.jar], DelegatingHandler@16059567[path=jdoctor.ear/jdoctor_web.war/WEB-INF/lib/commons-beanutils-1.7.0.jar context=file:/C:/jboss-5.0.0.GA/server/default/deploy/ real=file:/C:/jboss-5.0.0.GA/server/default/deploy/jdoctor.ear/jdoctor_web.war/WEB-INF/lib/commons-beanutils-1.7.0.jar], DelegatingHandler@1298514[path=jdoctor.ear/jdoctor_web.war/WEB-INF/lib/commons-cli-1.0.jar context=file:/C:/jboss-5.0.0.GA/server/default/deploy/ real=file:/C:/jboss-5.0.0.GA/server/default/deploy/jdoctor.ear/jdoctor_web.war/WEB-I

            • 3. Re: Cant use commons-digester
              Stan Silvert Master

              Are you bundling a SAX parser with your application? It looks like a problem with two instances of the SAXParseException class.

              Stan

              • 4. Re: Cant use commons-digester
                Diego Coronel Apprentice

                Im not doing anything directly in my system, but im using third frameworks like richfaces/seam/birt that can have this... the strange is that in jboss 4.2.2 it works perfectly but in jboss AS 5 it does not.. i dont know what can i do to make it works, can you suggest something ?

                • 5. Re: Cant use commons-digester
                  Stan Silvert Master

                  The best thing to do is to find the offending jar and remove it from your WAR. Get rid of whatever is loading SAX from your WAR instead of from the JDK.

                  If you go into /jboss-5.0.0.GA/server/default/deployers/jbossweb.deployer/META-INF/war-deployer-jboss-beans.xml and set useJBossWebLoader=true then that may fix it as well.

                  Stan

                  • 6. Re: Cant use commons-digester
                    Diego Coronel Apprentice

                    ty for answer, i added all jars one by one and it worked, i found problematic jar ;). ty, ill open a new thread with a problem that i found with quartz.