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/15 23:34:08 UTC

[jira] Created: (CXF-2289) CachedOutputStream should continue keeping the message in memory if the creation of Temp file 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


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.


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

Posted by "Mayank Mishra (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2289.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.3
                   2.1.6
         Assignee: Daniel Kulp

> 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
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.1.6, 2.2.3
>
>         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.