Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 12729 invoked from network); 24 Apr 2007 05:39:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Apr 2007 05:39:42 -0000 Received: (qmail 35598 invoked by uid 500); 24 Apr 2007 05:39:44 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 35525 invoked by uid 500); 24 Apr 2007 05:39:44 -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 35376 invoked by uid 99); 24 Apr 2007 05:39:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 22:39:43 -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; Mon, 23 Apr 2007 22:39:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 518CF714079 for ; Mon, 23 Apr 2007 22:39:16 -0700 (PDT) Message-ID: <23026492.1177393156331.JavaMail.jira@brutus> Date: Mon, 23 Apr 2007 22:39:16 -0700 (PDT) From: "Michael Neale (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-778) Error on query initialization - intermittent In-Reply-To: <17055800.1173332784290.JavaMail.root@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-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491140 ] Michael Neale commented on JCR-778: ----------------------------------- ok this also happens with 1.3 - only in 1.3 its not logging an exception (even worse) - just not returning results on a query. > Error on query initialization - intermittent > -------------------------------------------- > > Key: JCR-778 > URL: https://issues.apache.org/jira/browse/JCR-778 > Project: Jackrabbit > Issue Type: Bug > Components: indexing > Affects Versions: 1.1, 1.2.2 > Environment: Linux Fedora Core 5, ext2 filesystem, Java 1.5 (Sun) > Reporter: Michael Neale > Attachments: jackrabbit-JCR-778.zip > > > About 1 in ten times, I get the error as shown in the stack trace below. This happens when I run test, or when I start the app. The only way to resolve (when testing) seems to be to blow away the repository. > It always happens at the point the query manager is accessed (triggering the query subsystem to start up). It DOES NOT cause an exception to be thrown back to the caller, I just noticed it in the logs. Basically the queries return NO data at all (and show up as test failures of course). > In each case when I startup the system/test, if the repository exists I use it, and (for tests) clean it by deleting the root node of the user content, and then starting again, otherwise there is nothing that exciting. > Please let me know if more info is needed. > ERROR 05-03 15:54:39,386 (LazyQueryResultImpl.java:getResults:266) -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:51) > at org.apache.lucene.store.Lock$With.run(Lock.java:98) > at org.apache.lucene.index.IndexReader.open(IndexReader.java:141) > at org.apache.lucene.index.IndexReader.open(IndexReader.java:136) > at org.apache.jackrabbit.core.query.lucene.AbstractIndex.getReadOnlyIndexReader(AbstractIndex.java:191) > at org.apache.jackrabbit.core.query.lucene.MultiIndex.getIndexReader (MultiIndex.java:616) > at org.apache.jackrabbit.core.query.lucene.SearchIndex.executeQuery(SearchIndex.java:384) > at org.apache.jackrabbit.core.query.lucene.LazyQueryResultImpl.executeQuery(LazyQueryResultImpl.java :204) > at org.apache.jackrabbit.core.query.lucene.LazyQueryResultImpl.getResults(LazyQueryResultImpl.java:244) > at org.apache.jackrabbit.core.query.lucene.LazyQueryResultImpl.(LazyQueryResultImpl.java :161) > at org.apache.jackrabbit.core.query.lucene.QueryImpl.execute(QueryImpl.java:164) > at org.apache.jackrabbit.core.query.QueryImpl.execute(QueryImpl.java:142) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.