Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4, commons 1.4.2
-
None
Description
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.
Attachments
Attachments
Issue Links
- relates to
-
JCR-1668 After RepositoryImpl instance has been created and shut down, some classes cannot be unloaded
- Closed