[
https://issues.apache.org/jira/browse/JCR-2752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting closed JCR-2752.
------------------------------
> The "jackrabbit-pool-" thread prevents the process from stopping
> ----------------------------------------------------------------
>
> Key: JCR-2752
> URL: https://issues.apache.org/jira/browse/JCR-2752
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.0.0
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
> Priority: Minor
> Fix For: 2.2.0
>
>
> If the repository is not closed, and a session is still logged in, then the
> process doesn't terminate because of a non-daemon thread named
> "jackrabbit-pool-<n>". Test case:
> public class TestThreadPreventsExit {
> public static void main(String... a) throws Exception {
> new TransientRepository().login(
> new SimpleCredentials("", new char[0]));
> }
> }
> This program doesn't stop.
> The non-daemon thread was introduces as part of
> https://issues.apache.org/jira/browse/JCR-2465
> The fix is to use a daemon thread.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira