jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fred Simon (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1637) The GarbageCollector ignores InterruptedException and so crash on shutdown
Date Tue, 03 Jun 2008 10:56:45 GMT
The GarbageCollector ignores InterruptedException and so crash on shutdown
--------------------------------------------------------------------------

                 Key: JCR-1637
                 URL: https://issues.apache.org/jira/browse/JCR-1637
             Project: Jackrabbit
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: core 1.4.4
            Reporter: Fred Simon


When our jetty server shutdown, all threads are interrupted.
And so we are getting on every shutdown the next exception.
I'm working on a patch to throw the exception back instead of ignoring it.

2008-06-03 13:47:32,622 [DEBUG] (SimpleThreadPool.java:564)     - WorkerThread is shutting
down
2008-06-03 13:47:32,662 [DEBUG] (JcrGarbageCollector.java:75)     - Jackrabbit's datastore
garbage collector execution failed.
javax.jcr.RepositoryException: this session has been closed
	at org.apache.jackrabbit.core.SessionImpl.sanityCheck(SessionImpl.java:359)
	at org.apache.jackrabbit.core.ItemImpl.sanityCheck(ItemImpl.java:154)
	at org.apache.jackrabbit.core.NodeImpl.getProperties(NodeImpl.java:2513)
	at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:279)
	at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:298)
	at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:298)
	at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:298)
	at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:298)
	at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:298)
	at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:298)
	at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:298)
	at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:298)
	at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:298)
	at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:298)
	at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:298)
	at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:298)
	at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:298)
	at org.apache.jackrabbit.core.data.GarbageCollector.scanNodes(GarbageCollector.java:173)
	at org.apache.jackrabbit.core.data.GarbageCollector.scan(GarbageCollector.java:158)
	at org.artifactory.jcr.JcrGarbageCollector.run(JcrGarbageCollector.java:57)
	at java.util.TimerThread.mainLoop(Timer.java:512)
	at java.util.TimerThread.run(Timer.java:462)


-- 
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