3 Replies Latest reply on Feb 20, 2008 5:51 PM by andystevens

    Exception with Jars (all the versions)

    govindmurugesan

      Hi

      I am Murugesan, new to RichFaces also and I have implemented the sample demo Ajax Echo Project but its showing the following error if I use the all verions of jars (richfaces-ui-3.1.4.GA-bin.zip, richfaces-ui-3.1.3.GA-bin.zip, richfaces-ui-3.1.2.GA-bin.zip)

      Error:

      [2/12/08 16:19:20:175 AST] 0000002f SystemErr R javax.faces.FacesException: Can't parse configuration file:wsjar:file:/C:/workspace/KingFaisal/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/DemonstrationEAR.ear/Demonstration.war/WEB-INF/lib/richfaces-ui-3.1.4.GA.jar!/META-INF/faces-config.xml
      at com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFApplicationConfig(FacesConfigUtil.java:215)
      at com.ibm.ws.jsf.util.FacesConfigUtil._parseJSFConfiguration(FacesConfigUtil.java:122)
      at com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFConfiguration(FacesConfigUtil.java:82)
      at com.sun.faces.util.Util.verifyFactoriesAndInitDefaultRenderKit(Util.java:465)
      at com.ibm.ws.jsf.configuration.FacesConfig.initialize(FacesConfig.java:96)
      at com.ibm.ws.jsf.extprocessor.JSFExtensionFactory.createExtensionProcessor(JSFExtensionFactory.java:108)
      at com.ibm.ws.webcontainer.webapp.WebApp.initializeExtensionProcessors(WebApp.java:1111)
      at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:388)
      at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:115)


      Note: in all the case its showing like "Can't parse configuration" for richfaces-ui-3.1.4.GA.jar!/META-INF/faces-config.xml

      Pls advise me and if possible pls let me know the beginners guide.

      Regards
      Murugesan

        • 1. Re: Exception with Jars (all the versions)
          ilya_shaikovsky

          provide please environment info JSF, JDK, web container versions?..

          • 2. Re: Exception with Jars (all the versions)
            govindmurugesan

            I am using the following environment:

            JSF Porlet (JSR 168 API), Websphere Portal Server 6.0, RSA 7.0 (IDE)

            Regards
            Murugesan

            • 3. Re: Exception with Jars (all the versions)
              andystevens

              I'm pushing for JSF at my company and in particular, trying to get approval to using RichFaces. Problem is, it'll only be allowed once I get a demo to work in-house, and I keep getting this same error. Websphere (we have 6.0.1) insists on parsing the face-config.xml files within the RichFaces jars, and fails. AFAIK our version of WAS is still on JSF 1.0.

              Even taking the richfaces-demo-3.1.4.GA.war as is, WAS still tries to parse those faces-config files and fails, resulting in no workie. I've seen other classloader issues like mine, and it may have something to do with being behind a firewall (?) or sadly, it may be that WAS can't run RichFaces.

              Any light that can be spared to be shed on this issue would make many of us shackled to WAS very happy.