Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 8548 invoked from network); 10 Apr 2006 16:48:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Apr 2006 16:48:27 -0000 Received: (qmail 17065 invoked by uid 500); 10 Apr 2006 16:48:25 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 17037 invoked by uid 500); 10 Apr 2006 16:48:25 -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 17026 invoked by uid 99); 10 Apr 2006 16:48:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Apr 2006 09:48:25 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Apr 2006 09:48:22 -0700 Received: from localhost ([127.0.0.1] helo=talk.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1FSzYY-0000gN-Bo for dev@jackrabbit.apache.org; Mon, 10 Apr 2006 09:48:02 -0700 Message-ID: <3845690.post@talk.nabble.com> Date: Mon, 10 Apr 2006 09:48:02 -0700 (PDT) From: thomasg To: dev@jackrabbit.apache.org Subject: Re: ItemNotFoundException when adding files from multiple threads In-Reply-To: <90a8d1c00604100859t79c3d377t1875dbee5f229fe0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: thomasgascoigne@hotmail.com X-Nabble-From: thomasg References: <3788575.post@talk.nabble.com> <90a8d1c00604100859t79c3d377t1875dbee5f229fe0@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks Stefan, I'm hoping that the latest code from http://svn.apache.org/repos/asf/jackrabbit/trunk should contain this fix. (I couldn't find svn r392978) I'll get the latest code, try to get the 'correct' InvalidItemSateException and then fix it by getting each thread to lock the item before calling save(), then unlocking. Cheers again and sorry for the multiple posting, (i was bad). Thomas -- View this message in context: http://www.nabble.com/ItemNotFoundException-when-adding-files-from-multiple-threads-t1407106.html#a3845690 Sent from the Jackrabbit - Dev forum at Nabble.com.