Hi,
On Fri, Jul 9, 2010 at 11:35 AM, tingup <[email protected]> wrote:
> i'm new to jackrabbit, and i'm using jackrabbit1.6.1.
> [...]
>  now, my jr repository crashed after operation:
>                session.exportSystemView(CMSUtil.normalizedPath(path), out, 
> false, false);
>                session.importXML(CMSUtil.normalizedPath(path), in, 
> ImportUUIDBehavior.IMPORT_UUID_CREATE_NEW);
>
>  Then,  i get the following error info when i restarting the server:
> [...]
> Caused by: java.lang.NumberFormatException: For input string: ""
>    at 
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>    at java.lang.Integer.parseInt(Integer.java:470)
>    at java.lang.Integer.parseInt(Integer.java:499)
>    at 
> org.apache.jackrabbit.core.nodetype.NodeDefId.valueOf(NodeDefId.java:106)
Did you use Jackrabbit 1.6.2 during your export/import operation? From
the 1.6.2 release notes: "This release is backwards-compatible with
the earlier 1.6.x releases, but contains a change in persistence
format that makes it impossible to downgrade to an earlier release
after a repository has been upgraded to the 1.6.2 version." The error
you're seeing suggests that you're hitting this issue. Upgrading all
parts of your environment to 1.6.2 should fix the problem.
BR,
Jukka Zitting
-------------------------------

Yes, but i builded the repository with 1.6.1 before, i update to 1.6.2 today, 
and use Jackrabbit 1.6.2 during your export/import operation.
as the 1.6.2 release notes says, backwards-compatible with the 1.6.1 releases.
may be I have fogtten which release the repo had been builded on, is there 
anyway to find out this?
by the way, could you give me any suggestion about how to backup/restore the 
repo of jackrabbit?

Great appreciate  for your help!!

Reply via email to