[ 
http://issues.apache.org/jira/browse/MYFACES-1481?page=comments#action_12457479 
] 
            
Stan Silvert commented on MYFACES-1481:
---------------------------------------

I occurs to me that the FacesContext also needs to be removed from the session 
at the end of processAction.  I have learned that some Portal containers 
actually do a redirect after processAction instead of calling render() 
directly.  The redirect means that the request is ended and replication could 
happen.  However, I'm not sure if things will still work if I remove 
FacesContext from the session and immediately rebuild it during render().

BTW, as part of the cleanup I've now added FacesContext.release() at the end of 
the render() phase.

> MyFacesGenericPortlet does not work in a cluster
> ------------------------------------------------
>
>                 Key: MYFACES-1481
>                 URL: http://issues.apache.org/jira/browse/MYFACES-1481
>             Project: MyFaces Core
>          Issue Type: Bug
>            Reporter: John Gilbert
>         Assigned To: Stan Silvert
>
> The problem is that ServletFacesContextImpl is not serializable and 
> processAction places one in the session.
> Here is a link to a discussion on the JBoss Forum.
> http://jboss.org/index.html?module=bb&op=viewtopic&p=3981103#3981103
> Here is a link to the workaround I created.
> http://taylor.cvs.sourceforge.net/taylor/taylor/commons/src/main/java/net/taylor/portlet/MyFacesGenericPortlet.java?view=markup

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

        

Reply via email to