jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torgeir.ve...@gmail.com>
Subject Re: oak-run upgrade
Date Sat, 12 Jul 2014 12:43:06 GMT
On 11 July 2014 17:54, Torgeir Veimo <torgeir.veimo@gmail.com> 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.

Mime
View raw message