[
http://jira.magnolia-cms.com/browse/MAGNOLIA-4456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Milan Divilek updated MAGNOLIA-4456:
------------------------------------
Assignee: (was: Philipp Bärfuss)
Fix Version/s: 4.4.x
4.5.4
> Leftover Jackrabbit thread after shutdown.
> ------------------------------------------
>
> Key: MAGNOLIA-4456
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4456
> Project: Magnolia
> Issue Type: Bug
> Security Level: Public
> Components: core
> Affects Versions: 4.4.8, 4.5.3
> Reporter: Danilo Ghirardelli
> Fix For: 4.4.x, 4.5.4
>
> Attachments: ContentRepository.java.patch
>
>
> When shutting down Jackrabbit repositories, at least in the 1.6 version of
> Jackrabbit, Magnolia leaves the {{Transient File Reaper}} thread active
> without apparent reason.
> Restarting the app a few times without restarting the application server will
> leave a bunch of these threads open, thus wasting the thread pool.
> The attached patch simply shuts down the {{TransientFileFactory}} after the
> repositories shutdown.
> There is a note on the {{shutdown}} method that left me a little doubt:
> obviously repositories are started by the webapp itself and the method is
> called just after the repo shutdown, but I have no idea on how to check that
> the {{TransientFileFactory}} was loaded within the webapp classloader... Are
> there Magnolia configuration in which this is not true? Is it really possible
> to add a check?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------