Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F14B510CDD for ; Mon, 27 Apr 2015 13:33:22 +0000 (UTC) Received: (qmail 19415 invoked by uid 500); 27 Apr 2015 13:33:22 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 19360 invoked by uid 500); 27 Apr 2015 13:33:22 -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 19348 invoked by uid 99); 27 Apr 2015 13:33:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 13:33:22 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of torgeir.veimo@gmail.com does not designate 54.164.171.186 as permitted sender) Received: from [54.164.171.186] (HELO mx1-us-east.apache.org) (54.164.171.186) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 13:33:16 +0000 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id E146843E39 for ; Mon, 27 Apr 2015 13:32:55 +0000 (UTC) Received: by wiun10 with SMTP id n10so90034685wiu.1 for ; Mon, 27 Apr 2015 06:32:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=esBJkapnaw25F3bvc1O4ILvveZe2Z4p+dMpVgiPZ4p8=; b=MESvCnNebabxgjtdeG2BsbW6oBOwiPBQnx+8/0nm373GIMhclj4aARs/8o4WhdUC8N BKMzJhpgLO+QWHlg7edSQlveGRldPYX+TZP6KAxIEOFQR4cZdCjrwWIxxtKW3oosh5hF sv8ewySzNrDjOGVmGniuQg5bhdXzpWD6v5Mb+oRk1KSuKiXLqfJ+u91L8ilYk0Y/m5Ne +xYMXxeyQAJw5JaOOAB80ald94tDGjwwHVBHeCpINMOh2ChkK4v4nhOGQTg3+r4G0Jhj NgfhK0LbhvQOIwDODmohkVJJFaAeyfr3iUmTC6SfXhZXmWesWKDHiTiohtYqKLhb3NrW 2kPQ== MIME-Version: 1.0 X-Received: by 10.180.19.100 with SMTP id d4mr20701716wie.29.1430141575019; Mon, 27 Apr 2015 06:32:55 -0700 (PDT) Received: by 10.194.188.40 with HTTP; Mon, 27 Apr 2015 06:32:54 -0700 (PDT) In-Reply-To: References: Date: Mon, 27 Apr 2015 15:32:54 +0200 Message-ID: Subject: Re: builder must be a org.apache.jackrabbit.oak.plugins.document.DocumentRootBuilder From: Torgeir Veimo To: users@jackrabbit.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org I do sometimes see exception like javax.jcr.InvalidItemStateException: OakState0001: Unresolved conflicts in /content/people/ola-normann-10663 at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:237) Am wondering if this can be related to the above issue. Is there an easy way to resolve these? On 27 April 2015 at 10:52, Torgeir Veimo wrote: > I'm trying to move a repository from tarmk to mongodb, and am using > the oak-run restore command, but am getting an exception; > > spazzo:oak-run torgeir$ java -jar ./target/oak-run-1.2.1.jar restore > mongodb://localhost/oak ~/oak-repository-backup-20150427a > > Apache Jackrabbit Oak 1.2.1 > Exception in thread "main" java.lang.IllegalArgumentException: builder > must be a org.apache.jackrabbit.oak.plugins.document.DocumentRootBuilder > at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.asDocumentRootBuilder(DocumentNodeStore.java:2232) > at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore.merge(DocumentNodeStore.java:1490) > [...] > > Looking at the mailing list it might be due to OAK-2049. I've tried > running the node count script in oak console to find the offending > node, but it detects no errors. > > http://oak-dev.jackrabbit.apache.narkive.com/KVUViR6K/cannot-backup-and-restore-aem-tar-repository > > Are there any other things I need to fix in the repository? I've run > the check, compact and then backup commands on the repository prior to > trying to restore it to mongodb. > > -- > -Tor -- -Tor