jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-2752) The "jackrabbit-pool-" thread prevents the process from stopping
Date Tue, 21 Sep 2010 09:16:35 GMT

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

Thomas Mueller resolved JCR-2752.
---------------------------------

    Resolution: Fixed

> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message