jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Puchkovskiy (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1636) Make shutdown hooks in TransientFileFactory removable
Date Sat, 31 May 2008 18:25:45 GMT
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: commons 1.4.2, 1.4
            Reporter: Roman Puchkovskiy

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.

View raw message