2 Replies Latest reply on Nov 29, 2007 10:16 AM by Jawher Moussa

    Configuration problem

    Oskar Alonso Newbie

      Hello, I'm having an exception when the context of my apllication is starting:

      29-nov-2007 9:32:05 org.apache.catalina.core.StandardContext listenerStart
      GRAVE: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase com.sun.faces.config.ConfigureListener
      com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! Error at line 5 char 13: argument type mismatch
       at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
       at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:174)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
       at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
       at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
       at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
       at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
       at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
       at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
       at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
       at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
       at org.apache.catalina.core.StandardService.start(StandardService.java:516)
       at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
       at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
       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:585)
       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: java.lang.IllegalArgumentException: argument type mismatch
       at org.apache.commons.digester.Digester.createSAXException(Digester.java:3181)
       at org.apache.commons.digester.Digester.createSAXException(Digester.java:3207)
       at org.apache.commons.digester.Digester.endElement(Digester.java:1225)
       at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
       at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
       at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
       at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
       at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
       at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
       at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
       at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
       at org.apache.commons.digester.Digester.parse(Digester.java:1765)
       at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:186)
       at org.ajax4jsf.framework.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:131)
       at org.ajax4jsf.framework.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java:202)
       at org.ajax4jsf.framework.renderer.ChameleonRenderKitFactory.<init>(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:494)
       at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:560)
       at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:459)
       at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:260)
       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:202)
       ... 25 more
      29-nov-2007 9:32:12 org.apache.catalina.core.ApplicationContext log
      INFO: ContextListener: contextInitialized()
      29-nov-2007 9:32:12 org.apache.catalina.core.ApplicationContext log
      INFO: SessionListener: contextInitialized()
      


      I don't know what's the class with the Configuration Error. I'm trying to upgrade to JSF1.2. The libraries imported in my application are:

      ajax4jsf1.1.1
      commons-beanutils1.7.0
      commons-codec1.3
      commons-collections3.2
      commons-digester1.8
      commons-discovery0.4
      commons-el1.0
      commons-fileupload1.2
      commons-logging1.0.4
      jsf-api1.2
      jsf-impl1.2
      jstl1.1.2
      myfaces-api1.2.0
      myfaces-impl1.2.0
      richfaces-api3.1.1
      richfaces-impl3.1.1
      richfaces-ui3.1.1
      standard1.1.2
      tomahawk1.1.6

      Any idea please??

      Thank you!!