2 Replies Latest reply on Oct 1, 2013 9:49 AM by Ron Si

    Facelets: SAXException Error Handling s.taglib.xml [Richfaces 3.3.3.Final and JSF2]

    Ron Si Newbie

      I am in the middle of upgrading my application to `Seam 2.3.1.Final` from `Seam 2.2.1.CR2`. I have upgraded most of the stuff but stuck on this Facelets exception. I'm using `JSF 2.0` and running on latest `EAP 6.1.0. Final` and also using `RichFaces 3.3.3.Final`.

       

      I have followed instructions from [this][1] page but it didn't make any difference. Any clue or pointers would be really appreciated. Thanks.

       

          17:23:50,778 INFO  [facelets.compiler]  Added Library from: jar:file:/C:/dev/www-eap61/jboss-eap-6.1/modules/system/layers/base/com/sun/jsf-impl/main/jsf-impl-2.1.19-redhat-1.jar!/META-INF/mojarra_ext.taglib.xml
          17:23:50,781 INFO  [facelets.compiler]  Added Library from: vfs:/C:/dev/www-eap61/jboss-eap-6.1/bin/content/oas-ear-1.0.ear/oas-ui-web-1.0.war/WEB-INF/lib/jsf-impl-2.1.7.jar/META-INF/mojarra_ext.taglib.xml
          17:23:50,783 INFO  [facelets.compiler]  Added Library from: vfs:/C:/dev/www-eap61/jboss-eap-6.1/bin/content/oas-ear-1.0.ear/lib/jsf-impl-2.1.7.jar/META-INF/mojarra_ext.taglib.xml
          17:23:50,787 INFO  [facelets.compiler]  Added Library from: vfs:/C:/dev/www-eap61/jboss-eap-6.1/bin/content/oas-ear-1.0.ear/oas-ui-web-1.0.war/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar/META-INF/jstl-fn.taglib.xml
          17:23:50,793 INFO  [facelets.compiler]  Added Library from: vfs:/C:/dev/www-eap61/jboss-eap-6.1/bin/content/oas-ear-1.0.ear/oas-ui-web-1.0.war/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar/META-INF/jstl-core.taglib.xml
          17:23:50,800 INFO  [facelets.compiler]  Added Library from: vfs:/C:/dev/www-eap61/jboss-eap-6.1/bin/content/oas-ear-1.0.ear/oas-ui-web-1.0.war/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar/META-INF/jsf-ui.taglib.xml
          17:23:50,889 INFO  [facelets.compiler]  Added Library from: vfs:/C:/dev/www-eap61/jboss-eap-6.1/bin/content/oas-ear-1.0.ear/oas-ui-web-1.0.war/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar/META-INF/jsf-core.taglib.xml
          17:23:50,893 INFO  [facelets.compiler]  Added Library from: vfs:/C:/dev/www-eap61/jboss-eap-6.1/bin/content/oas-ear-1.0.ear/oas-ui-web-1.0.war/WEB-INF/lib/jsf-facelets-1.1.15.B1.jar/META-INF/jsf-html.taglib.xml
          17:23:50,895 INFO  [facelets.compiler]  Added Library from: vfs:/C:/dev/www-eap61/jboss-eap-6.1/bin/content/oas-ear-1.0.ear/oas-ui-web-1.0.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar/META-INF/jsp.taglib.xml
          17:23:50,901 INFO  [facelets.compiler]  Added Library from: vfs:/C:/dev/www-eap61/jboss-eap-6.1/bin/content/oas-ear-1.0.ear/oas-ui-web-1.0.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar/META-INF/ajax4jsf.taglib.xml
          17:23:50,926 INFO  [facelets.compiler]  Added Library from: vfs:/C:/dev/www-eap61/jboss-eap-6.1/bin/content/oas-ear-1.0.ear/oas-ui-web-1.0.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar/META-INF/richfaces.taglib.xml
          17:23:50,929 INFO  [facelets.compiler]  Added Library from: vfs:/C:/dev/www-eap61/jboss-eap-6.1/bin/content/oas-ear-1.0.ear/oas-ui-web-1.0.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar/META-INF/a4j.taglib.xml
          17:23:50,935 INFO  [facelets.compiler]  Added Library from: vfs:/C:/dev/www-eap61/jboss-eap-6.1/bin/content/oas-ear-1.0.ear/oas-ui-web-1.0.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar/META-INF/rich.taglib.xml
          17:23:50,939 SEVERE [facelets.compiler]  Error Loading Library: vfs:/C:/dev/www-eap61/jboss-eap-6.1/bin/content/oas-ear-1.0.ear/lib/jboss-seam-ui-2.3.1.Final.jar/META-INF/s.taglib.xml: java.io.IOException: Error parsing [vfs:/C:/dev/www-eap61/jboss-eap-6.1/bin/content/oas-ear-1.0.ear/lib/jboss-seam-ui-2.3.1.Final.jar/META-INF/s.taglib.xml]:
          at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:410) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
          at com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:431) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
          at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:87) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
          at com.sun.facelets.compiler.Compiler.compile(Compiler.java:104) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
          at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:218) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
          at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:149) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
          at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:100) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
          at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:517) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
          at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
          at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100) [richfaces-api-3.3.3.Final.jar:3.3.3.Final]
          at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176) [richfaces-impl-jsf2-3.3.3.Final.jar:3.3.3.Final]
          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar:2.1.19.1.Final-redhat-1]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) [richfaces-impl-jsf2-3.3.3.Final.jar:3.3.3.Final]
          at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) [richfaces-impl-jsf2-3.3.3.Final.jar:3.3.3.Final]
          at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) [richfaces-impl-jsf2-3.3.3.Final.jar:3.3.3.Final]
          at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) [richfaces-impl-jsf2-3.3.3.Final.jar:3.3.3.Final]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.company.extranet.util.SecurityContextFilter.doFilter(SecurityContextFilter.java:109) [classes:]
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.company.extranet.util.CacheDisablingFilter.doFilter(CacheDisablingFilter.java:41) [classes:]
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.company.extranet.util.NDCFilter.doFilter(NDCFilter.java:52) [classes:]
          at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
          at org.company.extranet.util.OasSeamFilter.doFilter(OasSeamFilter.java:182) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at com.sun.identity.agents.filter.AmAgentBaseFilter.allowRequestToContinue(AmAgentBaseFilter.java:130) [agent.jar:3.2.0-SNAPSHOT - 20130820-1339]
          at com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:80) [agent.jar:3.2.0-SNAPSHOT - 20130820-1339]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:389) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
          at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]
          Caused by: org.xml.sax.SAXException: Error Handling [vfs:/C:/dev/www-eap61/jboss-eap-6.1/bin/content/oas-ear-1.0.ear/lib/jboss-seam-ui-2.3.1.Final.jar/META-INF/s.taglib.xml@4,178]
          at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.error(TagLibraryConfig.java:376) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
          at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
          at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
          at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
          at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
          at org.apache.xerces.impl.dtd.XMLDTDValidator.rootElementSpecified(Unknown Source)
          at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)
          at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
          at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
          at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown Source)
          at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
          at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
          at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
          at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
          at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
          at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
          at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
          at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
          at javax.xml.parsers.SAXParser.parse(SAXParser.java:195) [rt.jar:1.7.0_11]
          at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:407) [jsf-facelets-1.1.15.B1.jar:1.1.15.B1]
          ... 63 more
      

      [1]: https://community.jboss.org/wiki/RichFaces333AndJSF20