jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Jansz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3038) The RepositoryContext Timer prevents the JVM from stopping
Date Thu, 04 Aug 2011 00:49:27 GMT
The RepositoryContext Timer prevents the JVM from stopping
----------------------------------------------------------

                 Key: JCR-3038
                 URL: https://issues.apache.org/jira/browse/JCR-3038
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: 2.2.7
            Reporter: Kevin Jansz


The JVM will can be prevented from stopping (where repository is not closed/session still
logged in) because of the non-daemon Timer created by org.apache.jackrabbit.core.RepositoryContext.
It will be called 'Timer-<n>'.

Suggest this Timer be made a daemon timer in org.apache.jackrabbit.core.RepositoryContext:
   private final Timer timer = new Timer(true);

This would be in line with a similar change for:
https://issues.apache.org/jira/browse/JCR-2752


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message