[seam-issues] [JBoss JIRA] Updated: (JBSEAM-4621) Page Navigation exception after upgrading to JSF 2.0
Marek Novotny (JIRA)
jira-events at lists.jboss.org
Tue Nov 2 19:26:01 EDT 2010
[ https://jira.jboss.org/browse/JBSEAM-4621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marek Novotny updated JBSEAM-4621:
----------------------------------
Priority: Major (was: Blocker)
> Page Navigation exception after upgrading to JSF 2.0
> ----------------------------------------------------
>
> Key: JBSEAM-4621
> URL: https://jira.jboss.org/browse/JBSEAM-4621
> Project: Seam
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.2.1.CR1
> Environment: Seam 2.2.1.CR1 + JSF 2.0 Sun
> Reporter: Sheng Gu
> Fix For: 2.2.1.CR3
>
>
> Hi there,
> After upgrading to JSF2.0, I got the following exceptions. The login.xhtml and login.page.xml codes are listed as follows:
> login.xhtml:
> <h:commandButton value="LOGIN" action="#{identity.login}"/>
> <h:commandButton value="SIGN UP!" action="register" immediate="true"/>
> login.page.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <page xmlns="http://jboss.com/products/seam/pages"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.2.xsd">
>
> <end-conversation before-redirect="true" root="true"/>
>
> <navigation from-action="#{identity.login}">
> <rule if="#{identity.loggedIn}">
> <end-conversation before-redirect="true" root="true"/>
> <redirect view-id="/home.xhtml" />
> </rule>
> </navigation>
>
> <navigation from-action="register">
> <begin-conversation join="false"/>
> <redirect view-id="/register.xhtml" />
> </navigation>
> </page>
> java.lang.IllegalStateException
> at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:435)
> at org.jboss.seam.mock.MockExternalContext.redirect(MockExternalContext.java:528)
> at org.jboss.seam.faces.FacesManager.redirect(FacesManager.java:220)
> at org.jboss.seam.faces.FacesManager.redirect(FacesManager.java:185)
> at org.jboss.seam.faces.Navigator.redirect(Navigator.java:55)
> at org.jboss.seam.faces.Navigator.redirect(Navigator.java:42)
> at org.jboss.seam.exception.RedirectHandler.handle(RedirectHandler.java:51)
> at org.jboss.seam.exception.Exceptions.handle(Exceptions.java:76)
> at org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:114)
> at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:70)
> at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
> at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Thread.java:595)
--
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 seam-issues
mailing list