You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Stan Silvert (JIRA)" <de...@myfaces.apache.org> on 2006/11/09 18:52:45 UTC

[jira] Commented: (MYFACES-1481) MyFacesGenericPortlet does not work in a cluster

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

Thanks for researching this.  It is something I hadn't considered.  However, I don't think that your workaround is the best approach.  

The FacesContext should be removed from the session at the end of the request.  Since session replication should not happen in the middle of the request, the problem would be solved.

I have to figure out how to make this all work properly though.  render() can be called without a processAction().  In that case we need to create a new FacesContext instead of using the one in the session.

Stan

> 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