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 EEBEC11663 for ; Sat, 12 Jul 2014 12:43:32 +0000 (UTC) Received: (qmail 99934 invoked by uid 500); 12 Jul 2014 12:43:32 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 99871 invoked by uid 500); 12 Jul 2014 12:43:32 -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 99858 invoked by uid 99); 12 Jul 2014 12:43:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jul 2014 12:43:31 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_QUOTING X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of torgeir.veimo@gmail.com designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-wg0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jul 2014 12:43:30 +0000 Received: by mail-wg0-f45.google.com with SMTP id x12so2218262wgg.4 for ; Sat, 12 Jul 2014 05:43:06 -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=vh20UTRIGiyAgXQW4vEo6ZuMvWmi+6OxQtjHy5VfxqI=; b=Dmq/t7iw4YM3nUEstV/+ZXB6b+nzbLVp+pQ+ZKSd+nWaUURcOp23eO3XTn28xv+Nv2 KjLbI/UFIkoMrEq+EstMcIbZNwRiB3xVt2cWFtJf16twO/hWw9o6j3kCgdc3Joniq2D3 S8uSBeLtUzdm3TmrEYQETuQDj5VoEbV6zfCIARcQjYzhf9arEk0MZRPn4M50GQLhTDU6 pxwfzMKi4twh64qPqhS2Faah8uLWaCPc5Nu8xWuaSm3SlaIZWPKeKR0WtaWRcA9NSjab 72FbfL4Hx7Iq+dBOQZmszqBKR1fJnW/SYFDzHHT/j13MHbmzfyMqGTHeYNde9AEtx88L HGbg== MIME-Version: 1.0 X-Received: by 10.180.187.113 with SMTP id fr17mr12438339wic.51.1405168986077; Sat, 12 Jul 2014 05:43:06 -0700 (PDT) Received: by 10.194.31.71 with HTTP; Sat, 12 Jul 2014 05:43:06 -0700 (PDT) In-Reply-To: References: Date: Sat, 12 Jul 2014 14:43:06 +0200 Message-ID: Subject: Re: oak-run upgrade From: Torgeir Veimo To: users@jackrabbit.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On 11 July 2014 17:54, Torgeir Veimo wrote: > Am getting > > Exception in thread "main" javax.jcr.RepositoryException: Failed to copy content > > at org.apache.jackrabbit.oak.upgrade.RepositoryUpgrade.copy(RepositoryUpgrade.java:307) > > at org.apache.jackrabbit.oak.run.Main.upgrade(Main.java:342) > > at org.apache.jackrabbit.oak.run.Main.main(Main.java:113) > > Caused by: java.lang.IllegalArgumentException: Invalid name: > > at org.apache.jackrabbit.oak.spi.state.AbstractNodeState.checkValidName(AbstractNodeState.java:61) > > when I try to upgrade a jackrabbit 2.8.0 repository. Is there any way > to specify a verbosity parameter or trace log in order to see which > node has an invalid name? > > Also, it looks like the README.md file for oak run has swapped the > order of the parameters for repository directory and repository.xml > file in the example? It seems this is due to my repository having the namespace "":"". I am not sure how this has happened, and jackrabbit has never complained. Also, I can't remove them using jackrabbit itself since I then get the exception javax.jcr.NamespaceException: unregistering namespaces is not supported.