You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Stefan Guggisberg (JIRA)" <ji...@apache.org> on 2008/06/05 16:53:45 UTC

[jira] Resolved: (JCR-1636) Make shutdown hooks in TransientFileFactory removable

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

Stefan Guggisberg resolved JCR-1636.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5

applied patch in svn r663634.

thanks!

> Make shutdown hooks in TransientFileFactory removable
> -----------------------------------------------------
>
>                 Key: JCR-1636
>                 URL: https://issues.apache.org/jira/browse/JCR-1636
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-commons
>    Affects Versions: 1.4, commons 1.4.2
>            Reporter: Roman Puchkovskiy
>             Fix For: 1.5
>
>         Attachments: JCR-1636-workaround.patch
>
>
> TransientFileFactory class always registers shutdown hook. So, if jackrabbit classes were loaded by web-app classloader, they will not be released when web-app is undeployed (if jackrabbit-jcr-commons JAR is inside WAR). This causes classloader leak.
> It seems to be useful to have ability to cancel TransientFileFactory's shutdown hook when application is going to be unloaded to avoid classloader leak.

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