myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott O'Bryan (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TRINIDAD-2293) multi file upload does not get replicated in a High Availability environment
Date Mon, 06 Aug 2012 17:42:03 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-2293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13429289#comment-13429289
] 

Scott O'Bryan commented on TRINIDAD-2293:
-----------------------------------------

Kentaro, where does this patch need to go?  I see it is logged against 2.0.2-core.  Should
the patch go to trinidad-2.0.x, trunk, or what?
                
> multi file upload does not get replicated in a High Availability environment
> ----------------------------------------------------------------------------
>
>                 Key: TRINIDAD-2293
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2293
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: 2.0.2-core
>         Environment: linux x86
>            Reporter: Kentaro Kinebuchi
>         Attachments: TRINIDAD-2293.patch
>
>
> In multi file upload, the uploaded files are stored in the user's session before submit.
In a HA environment, the session context which is replicated does not contain this file information
so if the server goes down then the file data is lost in the replicated server.
> There are two specific issues which need to be handled in the code:
> 1. In WebLogic, unless the setAttribute() method is called on the session context, that
attribute is not automatically replicated. Hence, all attributes which are updated during
multi file upload and we want replicated have to specifically call that method.
> 2. WebLogic does not replicate all File objects stored in the context. Hence, the path
to the temporary file created for each uploaded file needs to be saved in a String in the
context so it is replicated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message