You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Mayank Mishra (JIRA)" <ji...@apache.org> on 2009/06/16 00:00:07 UTC

[jira] Updated: (CXF-2289) CachedOutputStream should continue keeping the message in memory if the creation of Temp file fails

     [ https://issues.apache.org/jira/browse/CXF-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mayank Mishra updated CXF-2289:
-------------------------------

    Attachment: FosFailure.patch

Attaching patch which continues writing the in memory if the FileOutputStream creations fails.

> CachedOutputStream should continue keeping the message in memory if the creation of Temp file fails
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2289
>                 URL: https://issues.apache.org/jira/browse/CXF-2289
>             Project: CXF
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.2.2
>         Environment: jdk 1.5
>            Reporter: Mayank Mishra
>            Priority: Minor
>         Attachments: FosFailure.patch
>
>
> For attachments (and message logging), we use a special output stream that once a threshold is reached (64K by default), it starts saving to temporary files on the file system.  it would probably be good to update the code and if "new FileOutputStream(...)" fails, it would just proceed keeping it in memory.
> http://www.nabble.com/CXF-support-on-GAE-to24030728.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.