[jira] Created: (PLXCOMP-81) Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.

View: New views
8 Messages — Rating Filter:   Alert me  

[jira] Created: (PLXCOMP-81) Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.
-------------------------------------------------------------------------------------------------------------

                 Key: PLXCOMP-81
                 URL: http://jira.codehaus.org/browse/PLXCOMP-81
             Project: Plexus Components
          Issue Type: Bug
          Components: plexus-webdav
         Environment: Windows 2003/XP, Java 1.5_11, Intel x86, Archiva 1.0 Beta 1
            Reporter: David Valeri
         Attachments: StreamCleanup.patch

When a GET request is immediately followed by a PUT request for the same resource on a Windows system, the resource may be locked after the GET request causing the PUT request to fail.  The issue is intermittent and appears to occur when the InputStreams being opened in ReplacementGetMethod#sendResource are not closed and cause the error when the streams are not garbage collected before the PUT request is made.  The exception is generated on line 76 of DAVOutputStream in the Could.it WebDAV implementation.  The exception occurs when replacing the existing (and sometimes locked) file with the temporary file that was created during the upload.

This issue is exposed in http://jira.codehaus.org/browse/MRM-243.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Commented: (PLXCOMP-81) Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/PLXCOMP-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105480 ]

David Valeri commented on PLXCOMP-81:
-------------------------------------

Forgot to mention, error affects version 1.0-alpha-3.

> Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: PLXCOMP-81
>                 URL: http://jira.codehaus.org/browse/PLXCOMP-81
>             Project: Plexus Components
>          Issue Type: Bug
>          Components: plexus-webdav
>         Environment: Windows 2003/XP, Java 1.5_11, Intel x86, Archiva 1.0 Beta 1
>            Reporter: David Valeri
>         Attachments: StreamCleanup.patch
>
>
> When a GET request is immediately followed by a PUT request for the same resource on a Windows system, the resource may be locked after the GET request causing the PUT request to fail.  The issue is intermittent and appears to occur when the InputStreams being opened in ReplacementGetMethod#sendResource are not closed and cause the error when the streams are not garbage collected before the PUT request is made.  The exception is generated on line 76 of DAVOutputStream in the Could.it WebDAV implementation.  The exception occurs when replacing the existing (and sometimes locked) file with the temporary file that was created during the upload.
> This issue is exposed in http://jira.codehaus.org/browse/MRM-243.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Commented: (PLXCOMP-81) Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/PLXCOMP-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105484 ]

Brett Porter commented on PLXCOMP-81:
-------------------------------------

thanks for submitting this, I'll take a look

> Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: PLXCOMP-81
>                 URL: http://jira.codehaus.org/browse/PLXCOMP-81
>             Project: Plexus Components
>          Issue Type: Bug
>          Components: plexus-webdav
>         Environment: Windows 2003/XP, Java 1.5_11, Intel x86, Archiva 1.0 Beta 1
>            Reporter: David Valeri
>            Assignee: Brett Porter
>         Attachments: StreamCleanup.patch
>
>
> When a GET request is immediately followed by a PUT request for the same resource on a Windows system, the resource may be locked after the GET request causing the PUT request to fail.  The issue is intermittent and appears to occur when the InputStreams being opened in ReplacementGetMethod#sendResource are not closed and cause the error when the streams are not garbage collected before the PUT request is made.  The exception is generated on line 76 of DAVOutputStream in the Could.it WebDAV implementation.  The exception occurs when replacing the existing (and sometimes locked) file with the temporary file that was created during the upload.
> This issue is exposed in http://jira.codehaus.org/browse/MRM-243.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Assigned: (PLXCOMP-81) Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/PLXCOMP-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter reassigned PLXCOMP-81:
-----------------------------------

    Assignee: Brett Porter

> Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: PLXCOMP-81
>                 URL: http://jira.codehaus.org/browse/PLXCOMP-81
>             Project: Plexus Components
>          Issue Type: Bug
>          Components: plexus-webdav
>         Environment: Windows 2003/XP, Java 1.5_11, Intel x86, Archiva 1.0 Beta 1
>            Reporter: David Valeri
>            Assignee: Brett Porter
>         Attachments: StreamCleanup.patch
>
>
> When a GET request is immediately followed by a PUT request for the same resource on a Windows system, the resource may be locked after the GET request causing the PUT request to fail.  The issue is intermittent and appears to occur when the InputStreams being opened in ReplacementGetMethod#sendResource are not closed and cause the error when the streams are not garbage collected before the PUT request is made.  The exception is generated on line 76 of DAVOutputStream in the Could.it WebDAV implementation.  The exception occurs when replacing the existing (and sometimes locked) file with the temporary file that was created during the upload.
> This issue is exposed in http://jira.codehaus.org/browse/MRM-243.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Assigned: (PLXCOMP-81) Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/PLXCOMP-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joakim Erdfelt reassigned PLXCOMP-81:
-------------------------------------

    Assignee: Joakim Erdfelt  (was: Brett Porter)

> Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: PLXCOMP-81
>                 URL: http://jira.codehaus.org/browse/PLXCOMP-81
>             Project: Plexus Components
>          Issue Type: Bug
>          Components: plexus-webdav
>         Environment: Windows 2003/XP, Java 1.5_11, Intel x86, Archiva 1.0 Beta 1
>            Reporter: David Valeri
>            Assignee: Joakim Erdfelt
>         Attachments: StreamCleanup.patch
>
>
> When a GET request is immediately followed by a PUT request for the same resource on a Windows system, the resource may be locked after the GET request causing the PUT request to fail.  The issue is intermittent and appears to occur when the InputStreams being opened in ReplacementGetMethod#sendResource are not closed and cause the error when the streams are not garbage collected before the PUT request is made.  The exception is generated on line 76 of DAVOutputStream in the Could.it WebDAV implementation.  The exception occurs when replacing the existing (and sometimes locked) file with the temporary file that was created during the upload.
> This issue is exposed in http://jira.codehaus.org/browse/MRM-243.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Closed: (PLXCOMP-81) Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/PLXCOMP-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joakim Erdfelt closed PLXCOMP-81.
---------------------------------

    Resolution: Fixed

Implemented in revision 6911

> Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: PLXCOMP-81
>                 URL: http://jira.codehaus.org/browse/PLXCOMP-81
>             Project: Plexus Components
>          Issue Type: Bug
>          Components: plexus-webdav
>         Environment: Windows 2003/XP, Java 1.5_11, Intel x86, Archiva 1.0 Beta 1
>            Reporter: David Valeri
>            Assignee: Joakim Erdfelt
>         Attachments: StreamCleanup.patch
>
>
> When a GET request is immediately followed by a PUT request for the same resource on a Windows system, the resource may be locked after the GET request causing the PUT request to fail.  The issue is intermittent and appears to occur when the InputStreams being opened in ReplacementGetMethod#sendResource are not closed and cause the error when the streams are not garbage collected before the PUT request is made.  The exception is generated on line 76 of DAVOutputStream in the Could.it WebDAV implementation.  The exception occurs when replacing the existing (and sometimes locked) file with the temporary file that was created during the upload.
> This issue is exposed in http://jira.codehaus.org/browse/MRM-243.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Commented: (PLXCOMP-81) Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/PLXCOMP-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_127728 ]

Andrew Heald commented on PLXCOMP-81:
-------------------------------------

Is this issue really fixed? It seems likely we're seeing it on 1.0.1 here.

> Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: PLXCOMP-81
>                 URL: http://jira.codehaus.org/browse/PLXCOMP-81
>             Project: Plexus Components
>          Issue Type: Bug
>          Components: plexus-webdav
>         Environment: Windows 2003/XP, Java 1.5_11, Intel x86, Archiva 1.0 Beta 1
>            Reporter: David Valeri
>            Assignee: Joakim Erdfelt
>         Attachments: StreamCleanup.patch
>
>
> When a GET request is immediately followed by a PUT request for the same resource on a Windows system, the resource may be locked after the GET request causing the PUT request to fail.  The issue is intermittent and appears to occur when the InputStreams being opened in ReplacementGetMethod#sendResource are not closed and cause the error when the streams are not garbage collected before the PUT request is made.  The exception is generated on line 76 of DAVOutputStream in the Could.it WebDAV implementation.  The exception occurs when replacing the existing (and sometimes locked) file with the temporary file that was created during the upload.
> This issue is exposed in http://jira.codehaus.org/browse/MRM-243.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (PLXCOMP-81) Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/PLXCOMP-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=128660#action_128660 ]

Matt Read commented on PLXCOMP-81:
----------------------------------

I'm seeing this error message intermittently too - not certain whether the cause is the same as for this original Jira but it only arrived when we added WebDAV to the mix.

> Intermittent "507 Insufficient Storage" on Windows systems when GET immediately followed by PUT to same file.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: PLXCOMP-81
>                 URL: http://jira.codehaus.org/browse/PLXCOMP-81
>             Project: Plexus Components
>          Issue Type: Bug
>          Components: plexus-webdav
>         Environment: Windows 2003/XP, Java 1.5_11, Intel x86, Archiva 1.0 Beta 1
>            Reporter: David Valeri
>            Assignee: Joakim Erdfelt
>         Attachments: StreamCleanup.patch
>
>
> When a GET request is immediately followed by a PUT request for the same resource on a Windows system, the resource may be locked after the GET request causing the PUT request to fail.  The issue is intermittent and appears to occur when the InputStreams being opened in ReplacementGetMethod#sendResource are not closed and cause the error when the streams are not garbage collected before the PUT request is made.  The exception is generated on line 76 of DAVOutputStream in the Could.it WebDAV implementation.  The exception occurs when replacing the existing (and sometimes locked) file with the temporary file that was created during the upload.
> This issue is exposed in http://jira.codehaus.org/browse/MRM-243.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email