myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stan Silvert (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-1481) MyFacesGenericPortlet does not work in a cluster
Date Thu, 09 Nov 2006 17:52:45 GMT
    [ 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

        

Mime
View raw message