You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Strasser (JIRA)" <ji...@apache.org> on 2005/06/06 12:15:48 UTC

[jira] Created: (JCR-128) Deleting binary property does not remove 'blob file' in filesystem

Deleting binary property does not remove 'blob file' in filesystem
------------------------------------------------------------------

         Key: JCR-128
         URL: http://issues.apache.org/jira/browse/JCR-128
     Project: Jackrabbit
        Type: Bug
 Environment: jackrabbit r179771, windows
    Reporter: Tobias Strasser


when deleting a binary property or its containing node, the 'blob-file' sometime does not get removed.

the reason for this, is an open FileInputStream, that gets referenced in the property value.

-- 
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


[jira] Updated: (JCR-128) Deleting binary property does not remove 'blob file' in filesystem

Posted by "Tobias Strasser (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-128?page=all ]

Tobias Strasser updated JCR-128:
--------------------------------

    Comment: was deleted

> Deleting binary property does not remove 'blob file' in filesystem
> ------------------------------------------------------------------
>
>          Key: JCR-128
>          URL: http://issues.apache.org/jira/browse/JCR-128
>      Project: Jackrabbit
>         Type: Bug
>  Environment: jackrabbit r179771, windows
>     Reporter: Tobias Strasser
>     Assignee: Tobias Strasser

>
> when deleting a binary property or its containing node, the 'blob-file' sometime does not get removed.
> the reason for this, is an open FileInputStream, that gets referenced in the property value.

-- 
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


[jira] Commented: (JCR-128) Deleting binary property does not remove 'blob file' in filesystem

Posted by "Tobias Strasser (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JCR-128?page=comments#action_12312733 ] 

Tobias Strasser commented on JCR-128:
-------------------------------------

added a 'HandleMonitor' (r180286) that can be used with the LocalFileSystem. it traces all 'open' and reports a stacktrace or the allocation points, if the file cannot be deleted.

to enable it, set the 'enableHandleMonitor' param to 'true':

        <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
            <param name="path" value="${wsp.home}"/>
            <param name="enableHandleMonitor" value="true" />
        </FileSystem>



> Deleting binary property does not remove 'blob file' in filesystem
> ------------------------------------------------------------------
>
>          Key: JCR-128
>          URL: http://issues.apache.org/jira/browse/JCR-128
>      Project: Jackrabbit
>         Type: Bug
>  Environment: jackrabbit r179771, windows
>     Reporter: Tobias Strasser
>     Assignee: Tobias Strasser

>
> when deleting a binary property or its containing node, the 'blob-file' sometime does not get removed.
> the reason for this, is an open FileInputStream, that gets referenced in the property value.

-- 
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


[jira] Assigned: (JCR-128) Deleting binary property does not remove 'blob file' in filesystem

Posted by "Tobias Strasser (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-128?page=all ]

Tobias Strasser reassigned JCR-128:
-----------------------------------

    Assign To: Tobias Strasser

fixed in r179772, but needs verification

> Deleting binary property does not remove 'blob file' in filesystem
> ------------------------------------------------------------------
>
>          Key: JCR-128
>          URL: http://issues.apache.org/jira/browse/JCR-128
>      Project: Jackrabbit
>         Type: Bug
>  Environment: jackrabbit r179771, windows
>     Reporter: Tobias Strasser
>     Assignee: Tobias Strasser

>
> when deleting a binary property or its containing node, the 'blob-file' sometime does not get removed.
> the reason for this, is an open FileInputStream, that gets referenced in the property value.

-- 
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


[jira] Closed: (JCR-128) Deleting binary property does not remove 'blob file' in filesystem

Posted by "Tobias Strasser (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-128?page=all ]
     
Tobias Strasser closed JCR-128:
-------------------------------


> Deleting binary property does not remove 'blob file' in filesystem
> ------------------------------------------------------------------
>
>          Key: JCR-128
>          URL: http://issues.apache.org/jira/browse/JCR-128
>      Project: Jackrabbit
>         Type: Bug
>  Environment: jackrabbit r179771, windows
>     Reporter: Tobias Strasser
>     Assignee: Tobias Strasser

>
> when deleting a binary property or its containing node, the 'blob-file' sometime does not get removed.
> the reason for this, is an open FileInputStream, that gets referenced in the property value.

-- 
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


[jira] Resolved: (JCR-128) Deleting binary property does not remove 'blob file' in filesystem

Posted by "Tobias Strasser (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-128?page=all ]
     
Tobias Strasser resolved JCR-128:
---------------------------------

    Resolution: Fixed

Since this issue is only a problem, when using the LocalFS for blobs on windows boxes, i added a LazyFileInputStream, that opens the file not until the first file access is made.

fixed rev 180292

> Deleting binary property does not remove 'blob file' in filesystem
> ------------------------------------------------------------------
>
>          Key: JCR-128
>          URL: http://issues.apache.org/jira/browse/JCR-128
>      Project: Jackrabbit
>         Type: Bug
>  Environment: jackrabbit r179771, windows
>     Reporter: Tobias Strasser
>     Assignee: Tobias Strasser

>
> when deleting a binary property or its containing node, the 'blob-file' sometime does not get removed.
> the reason for this, is an open FileInputStream, that gets referenced in the property value.

-- 
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


[jira] Commented: (JCR-128) Deleting binary property does not remove 'blob file' in filesystem

Posted by "Tobias Strasser (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JCR-128?page=comments#action_12312735 ] 

Tobias Strasser commented on JCR-128:
-------------------------------------

Added a 'HandleMonitor' (r180286) that can be used with the LocalFileSystem. it traces all 'opens' and reports a stacktrace of the allocation points, if the file cannot be deleted.

to enable it, set the 'enableHandleMonitor' param to 'true':

        <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
            <param name="path" value="${wsp.home}"/>
            <param name="enableHandleMonitor" value="true" />
        </FileSystem>



> Deleting binary property does not remove 'blob file' in filesystem
> ------------------------------------------------------------------
>
>          Key: JCR-128
>          URL: http://issues.apache.org/jira/browse/JCR-128
>      Project: Jackrabbit
>         Type: Bug
>  Environment: jackrabbit r179771, windows
>     Reporter: Tobias Strasser
>     Assignee: Tobias Strasser

>
> when deleting a binary property or its containing node, the 'blob-file' sometime does not get removed.
> the reason for this, is an open FileInputStream, that gets referenced in the property value.

-- 
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