Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 73478 invoked from network); 14 Apr 2008 12:38:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Apr 2008 12:38:10 -0000 Received: (qmail 88719 invoked by uid 500); 14 Apr 2008 12:38:09 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 88667 invoked by uid 500); 14 Apr 2008 12:38:08 -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 88635 invoked by uid 99); 14 Apr 2008 12:38:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 05:38:08 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 12:37:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 51EF8234C0C9 for ; Mon, 14 Apr 2008 05:35:05 -0700 (PDT) Message-ID: <711470533.1208176505334.JavaMail.jira@brutus> Date: Mon, 14 Apr 2008 05:35:05 -0700 (PDT) From: "Thomas Mueller (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-1536) "Index already present" exception when opening a restored repository MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org "Index already present" exception when opening a restored repository -------------------------------------------------------------------- Key: JCR-1536 URL: https://issues.apache.org/jira/browse/JCR-1536 Project: Jackrabbit Issue Type: Bug Components: indexing Reporter: Thomas Mueller Priority: Minor I have created a new repository, added one node, then copied all files while Jackrabbit is running. Then closed the repository, restored the backup, and tried to open the repository. Unfortunately, this resulted in the following exception: javax.jcr.RepositoryException: Index already present: Index already present: Index already present at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:575) at org.apache.jackrabbit.core.SearchManager.(SearchManager.java:255) at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1613) at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:606) The backup contains the following index file: workspaces/default/index/redo.log There are no other files or directories or files in that directory (also no _n directories). The content of redo.log is: -1 STR -1 ADD cafebabe-cafe-babe-cafe-babecafebabe -1 COM 0 STR 0 DEL cafebabe-cafe-babe-cafe-babecafebabe 0 ADD fa87759b-f9fe-4ba8-986c-d1914ffce3de 0 ADD eda04b36-9c21-4712-bedf-206c36f0e3d2 0 ADD ae917cca-a0bb-4ac0-a16d-805aac6c7b10 0 ADD cafebabe-cafe-babe-cafe-babecafebabe 0 COM 1 STR 1 ADD 0121f271-bbe7-4f71-a793-5f4380f3c487 1 COM -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.