Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 73236 invoked from network); 23 Feb 2007 03:22:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2007 03:22:54 -0000 Received: (qmail 85238 invoked by uid 500); 23 Feb 2007 03:23:02 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 85216 invoked by uid 500); 23 Feb 2007 03:23:02 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 85207 invoked by uid 99); 23 Feb 2007 03:23:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Feb 2007 19:23:02 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of michael.neale@gmail.com designates 64.233.184.227 as permitted sender) Received: from [64.233.184.227] (HELO wr-out-0506.google.com) (64.233.184.227) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Feb 2007 19:22:51 -0800 Received: by wr-out-0506.google.com with SMTP id i7so448561wra for ; Thu, 22 Feb 2007 19:22:30 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ZZBwa1cMo7dLlTgHPJ4cxZyjfBnQPPvMb4MP9DlxSDMhHXVHDVLDi3ckxUqaqRzCyM1/D68iPVgBEJzBXiLbUKZrOan6MAmGeshvhv8a3igfet3I+0FPAQuh10y9Spr4ANRN76+8KVXM+fffKrtd461+gHaHLXLlb3+LOu/9n5U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=IVXFgTj8RdDGZmT8iQFAvBB1Og5z7WBaw6SC7GxVO4XHVUZK1r0F+MQvuQgk3UTlYmDhC+gBls+Ik4FnGiS0wErRbAqUZxk2op9rH9dy24ryrv9kVC8Jas6U5tYysXwLiZBbJnjrEr5K77BSkkiVA8pkH6Tx261eBQwKkib2zaE= Received: by 10.115.32.1 with SMTP id k1mr621801waj.1172200949291; Thu, 22 Feb 2007 19:22:29 -0800 (PST) Received: by 10.115.79.3 with HTTP; Thu, 22 Feb 2007 19:22:29 -0800 (PST) Message-ID: <96ab3ced0702221922v4f431db5l530bf84d89a4dccd@mail.gmail.com> Date: Fri, 23 Feb 2007 13:22:29 +1000 From: "Michael Neale" To: users@jackrabbit.apache.org Subject: Re: IOException when trying to query - intermittently In-Reply-To: <510143ac0702220407i1777233eyf2800236e8a240ca@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_49941_3040086.1172200949232" References: <96ab3ced0702202116o77dab958oe8599815f2406ca7@mail.gmail.com> <510143ac0702220407i1777233eyf2800236e8a240ca@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_49941_3040086.1172200949232 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Jukka. No this is linux, Fedora Core 5 (laptop, not server). Its rare, and it always works just by restarting the workspace. (I am using TransientRepository which creates this as needed - but that was the content at the time it puked). It does seem like a file system related intermittent thing - windows I would not be surprised, but linux seems like its more of a race condition? Anyone else seen this? Is there a way to programmatically simulate starting up the workspace multiple times - so I can try and trap this in a unit test? Michael. On 2/22/07, Jukka Zitting wrote: > > Hi, > > On 2/21/07, Michael Neale wrote: > > Occasionally, I get the following error when trying to run a fairly > mundane > > query: > > > > ERROR 21-02 15:06:12,573 (QueryImpl.java:execute:188) -Exception while > > executing query: > > java.io.IOException: No such file or directory > > at java.io.UnixFileSystem.createFileExclusively(Native Method) > > at java.io.File.createNewFile(File.java:850) > > at org.apache.jackrabbit.core.query.lucene.FSDirectory$1.obtain( > > FSDirectory.java:119) > > at org.apache.lucene.store.Lock.obtain(Lock.java:53) > > Strange. Are you running on Windows? I've occasionally seen similar > random IO errors on Windows especially if there's a dynamic virus > scanner or some similar background tool operating. > > Alternatively it could be related to some query configuration issue. > Please send the configuration entry in the > workspace.xml file within the workspace you're querying. > > BR, > > Jukka Zitting > ------=_Part_49941_3040086.1172200949232--