Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 60831 invoked from network); 5 Apr 2007 12:17:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Apr 2007 12:17:05 -0000 Received: (qmail 8683 invoked by uid 500); 5 Apr 2007 12:17:03 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 8640 invoked by uid 500); 5 Apr 2007 12:17:02 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 8588 invoked by uid 99); 5 Apr 2007 12:17:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 05:17:02 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 05:16:54 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D956471407C for ; Thu, 5 Apr 2007 05:16:33 -0700 (PDT) Message-ID: <32592240.1175775393886.JavaMail.jira@brutus> Date: Thu, 5 Apr 2007 05:16:33 -0700 (PDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Reopened: (JCR-549) TransientFileFactory may throw ConcurrentModificationException on shutdown In-Reply-To: <19048751.1156753102262.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting reopened JCR-549: ------------------------------- > TransientFileFactory may throw ConcurrentModificationException on shutdown > -------------------------------------------------------------------------- > > Key: JCR-549 > URL: https://issues.apache.org/jira/browse/JCR-549 > Project: Jackrabbit > Issue Type: Bug > Components: core > Affects Versions: 0.9, 1.0, 1.0.1 > Environment: svn: 437594 > Reporter: Marcel Reutegger > Assigned To: Stefan Guggisberg > Priority: Minor > > When Jackrabbit is stopped the shutdown hook of the TransientFileFactory iterates over all tracked temp files and deletes them. At the same time the reaper thread may still remove file references from the list of tracked temp files. This may lead to a ConcurrentModificationException in the shutdown hook: > java.util.ConcurrentModificationException > at java.util.AbstractList$Itr.checkForComodification(Unknown Source) > at java.util.AbstractList$Itr.next(Unknown Source) > at org.apache.jackrabbit.util.TransientFileFactory$1.run(TransientFileFactory.java:86) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.