[
https://issues.jboss.org/browse/AS7-1485?page=com.atlassian.jira.plugin.s...
]
Marek Novotny commented on AS7-1485:
------------------------------------
This fix (patched JSF) also affects seam 2.3.x on AS7 like it does for AS5 :
{noformat}
20:29:23,454 SEVERE [javax.enterprise.resource.webcontainer.jsf.application]
(http--127.0.0.1-8080-1) JSF1004: Cannot instantiate component of type
org.jboss.seam.ui.Link
20:29:23,461 SEVERE [facelets.viewhandler] (http--127.0.0.1-8080-1) Error Rendering
View[/home.xhtml]: javax.faces.FacesException: Expression Error: Named Object:
org.jboss.seam.ui.Link not found.
at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:571)
[jsf-impl-1.2_15-jbossorg-1.jar:1.2_15.jbossorg-1-20110810-SNAPSHOT]
at com.sun.facelets.tag.jsf.ComponentHandler.createComponent(ComponentHandler.java:243)
[jsf-facelets-1.1.15.B1.jar:]
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:139)
[jsf-facelets-1.1.15.B1.jar:]
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
[jsf-facelets-1.1.15.B1.jar:]
at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
[jsf-facelets-1.1.15.B1.jar:]
at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
[jsf-facelets-1.1.15.B1.jar:]
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
[jsf-facelets-1.1.15.B1.jar:]
at com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:109)
[jsf-facelets-1.1.15.B1.jar:]
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
[jsf-facelets-1.1.15.B1.jar:]
at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
[jsf-facelets-1.1.15.B1.jar:]
at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
[jsf-facelets-1.1.15.B1.jar:]
at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
[jsf-facelets-1.1.15.B1.jar:]
at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
[jsf-facelets-1.1.15.B1.jar:]
at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524)
[jsf-facelets-1.1.15.B1.jar:]
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
[jsf-facelets-1.1.15.B1.jar:]
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
[jsf-impl-1.2_15-jbossorg-1.jar:1.2_15.jbossorg-1-20110810-SNAPSHOT]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
[jsf-impl-1.2_15-jbossorg-1.jar:1.2_15.jbossorg-1-20110810-SNAPSHOT]
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
[jsf-impl-1.2_15-jbossorg-1.jar:1.2_15.jbossorg-1-20110810-SNAPSHOT]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
[jsf-api-1.2_15-jbossorg-1.jar:1.2_15.jbossorg-1-20110810-SNAPSHOT]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
[jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(org.jboss.seam.servlet.SeamFilter:83)
[jboss-seam.jar:]
at org.jboss.seam.web.IdentityFilter.doFilter(org.jboss.seam.web.IdentityFilter:40)
[jboss-seam.jar:]
at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(org.jboss.seam.servlet.SeamFilter:69)
[jboss-seam.jar:]
at org.jboss.seam.web.MultipartFilter.doFilter(org.jboss.seam.web.MultipartFilter:90)
[jboss-seam.jar:]
at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(org.jboss.seam.servlet.SeamFilter:69)
[jboss-seam.jar:]
at org.jboss.seam.web.ExceptionFilter.doFilter(org.jboss.seam.web.ExceptionFilter:64)
[jboss-seam.jar:]
at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(org.jboss.seam.servlet.SeamFilter:69)
[jboss-seam.jar:]
at org.jboss.seam.web.RedirectFilter.doFilter(org.jboss.seam.web.RedirectFilter:45)
[jboss-seam.jar:]
at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(org.jboss.seam.servlet.SeamFilter:69)
[jboss-seam.jar:]
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
[richfaces-impl-3.3.3.Final.jar:]
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
[richfaces-impl-3.3.3.Final.jar:]
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
[richfaces-impl-3.3.3.Final.jar:]
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
[richfaces-impl-3.3.3.Final.jar:]
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(org.jboss.seam.web.Ajax4jsfFilter:56)
[jboss-seam.jar:]
at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(org.jboss.seam.servlet.SeamFilter:69)
[jboss-seam.jar:]
at org.jboss.seam.web.LoggingFilter.doFilter(org.jboss.seam.web.LoggingFilter:60)
[jboss-seam.jar:]
at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(org.jboss.seam.servlet.SeamFilter:69)
[jboss-seam.jar:]
at org.jboss.seam.web.HotDeployFilter.doFilter(org.jboss.seam.web.HotDeployFilter:53)
[jboss-seam.jar:]
at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(org.jboss.seam.servlet.SeamFilter:69)
[jboss-seam.jar:]
at org.jboss.seam.servlet.SeamFilter.doFilter(org.jboss.seam.servlet.SeamFilter:158)
[jboss-seam.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
[jboss-as-web-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
[jboss-as-web-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:49)
[jboss-as-jpa-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
[jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
[jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
[jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
{noformat}
Packaging Xerces in war causes JSF ClassCastException on
SAXParserFactory
-------------------------------------------------------------------------
Key: AS7-1485
URL:
https://issues.jboss.org/browse/AS7-1485
Project: Application Server 7
Issue Type: Bug
Components: JSF
Affects Versions: 7.0.0.Final
Reporter: Brad Maxwell
Assignee: Brad Maxwell
Fix For: Open To Community
Packaging Xerces in war causes JSF ClassCastException on SAXParserFactory
ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]. (main) Exception
sending context initialized event to listener instance of class
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl cannot be cast
to javax.xml.parsers.SAXParserFactory
at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:128)
at
com.sun.faces.config.ConfigureListener$WebXmlProcessor.getConfiguredFactory(ConfigureListener.java:702)
at
com.sun.faces.config.ConfigureListener$WebXmlProcessor.scanForFacesServlet(ConfigureListener.java:674)
at
com.sun.faces.config.ConfigureListener$WebXmlProcessor.<init>(ConfigureListener.java:648)
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:156)
at
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:60)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4389)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:321)
at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)
at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira