[jboss-jira] [JBoss JIRA] Commented: (JBAS-8375) IllegalStateException when using Mojarra 2.0.4-b03

Prabhat Jha (JIRA) jira-events at lists.jboss.org
Tue Sep 7 22:59:52 EDT 2010


    [ https://jira.jboss.org/browse/JBAS-8375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12549544#action_12549544 ] 

Prabhat Jha commented on JBAS-8375:
-----------------------------------

Hi Juergen, somehow I missed the email notifications from jira hence the delay in responding to you. My apology. Thanks for attaching the war and source code. When I deploy your .war to AS6 M4 as it is i.e without any change to AS6, it deploys fine and I see the Hello page.  I hope you see the same on your end.

How are you upgrading jsf version in AS6 M4?

Also, you may already know that RF 3.3.3 was not tested with Mojarra 2.0.4-b03 and I don't think there is any such plan because we are working with RF4.0.x for full JSF2 support.



> IllegalStateException when using Mojarra 2.0.4-b03
> --------------------------------------------------
>
>                 Key: JBAS-8375
>                 URL: https://jira.jboss.org/browse/JBAS-8375
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JSF
>    Affects Versions: 6.0.0.M4
>            Reporter: Juergen Zimmermann
>            Assignee: Prabhat Jha
>         Attachments: testcase.src.zip, testcase.war
>
>
> When I replace the JARs for Mojarra 2 in the directory %JBOSS_HOME%\server\default\deployers\jsf.deployer\Mojarra-2.0\jsf-libs with version 2.0.3, then everything works fine.
> However, if I upgrade to Mojarra 2.0.4-b03 then I get the stacktrace below as soon as I invoke my /index.xhtml page which is based on RichFaces 3.3.3. I'm not sure whether the error belongs to JBoss' JSF integration or to RichFaces.
> There is some German text inside the exception message saying: "Illegal attempt to define a ViewHandler after a response was created".
> 19:51:20,579 ERROR [org.ajax4jsf.webapp.BaseXMLFilter] Exception in the filter chain: 
> javax.servlet.ServletException: Unzulässiger Versuch, ViewHandler festzulegen, nachdem eine Antwort erstellt wurde.
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:321) [:2.0.4-SNAPSHOT]
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.20100721-M4]
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100721-M4]
> 	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) [:3.3.3.Final]
> 	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) [:3.3.3.Final]
> 	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) [:3.3.3.Final]
> 	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) [:3.3.3.Final]
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.20100721-M4]
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100721-M4]
> 	at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:6.0.0.20100721-M4]
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.20100721-M4]
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100721-M4]
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.20100721-M4]
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.20100721-M4]
> 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.20100721-M4]
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [:6.0.0.20100721-M4]
> 	at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]
> 	at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]
> 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.20100721-M4]
> 	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:93) [:6.0.0.20100721-M4]
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.20100721-M4]
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.20100721-M4]
> 	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.20100721-M4]
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.20100721-M4]
> 	at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.20100721-M4]
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.20100721-M4]
> 	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:893) [:6.0.0.20100721-M4]
> 	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:599) [:6.0.0.20100721-M4]
> 	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2024) [:6.0.0.20100721-M4]
> 	at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
> Caused by: java.lang.IllegalStateException: Unzulässiger Versuch, ViewHandler festzulegen, nachdem eine Antwort erstellt wurde.
> 	at com.sun.faces.application.ApplicationImpl.setViewHandler(ApplicationImpl.java:559) [:2.0.4-SNAPSHOT]
> 	at org.ajax4jsf.event.InitPhaseListener.beforePhase(InitPhaseListener.java:92) [:3.3.3.Final]
> 	at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:224) [:2.0.4-SNAPSHOT]
> 	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:95) [:2.0.4-SNAPSHOT]
> 	at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107) [:2.0.4-SNAPSHOT]
> 	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) [:2.0.4-SNAPSHOT]
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.4-SNAPSHOT]
> 	... 29 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list