jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jou Kou-Rong" <Kou-Rong....@irs.gov>
Subject Questions About org.apache.jackrabbit.tools.importexport.JcrImportExportTool
Date Wed, 25 Feb 2009 22:25:29 GMT
Hi,
 
I have compiled
org.apache.jackrabbit.tools.importexport.JcrImportExportTool using JDK
1.6 and the jar files from the lib directory of JCRBackUpTool
(jcr-backup-0.3a) and concurret.jar file from apache. (Is  JDK 1.5 also
work?)
 
I was be able to create and exporting file using below java argements:
-c D:\jcrbackupresource\repository.xml -d D:\temp\jackrabbit -nt -ns -e
D:\jcrbackuptarget\target2
(Note: D:\jcrbackupresource\repository.xml is identical to the matching
file within jackrabbit-jca-1.5.0.rar )
 
But when I try to import the target2 back using below java argements:
-c D:\jcrbackupresource\repository.xml -d D:\temp\jackrabbit -nt -ns -i
D:\jcrbackuptarget\target2
 
I got error messages below:
16:46:46: 13700 [main] ERROR importexport.JcrImportExportTool - import
failed: rollback 

java.io.IOException: could not register namespace mapping fn_old ->
http://www.w3.org/2004/10/xpath-functions

at
org.apache.jackrabbit.tools.importexport.JcrImportExportTool.registerNam
espaces(JcrImportExportTool.java:259)

at
org.apache.jackrabbit.tools.importexport.JcrImportExportTool.doImport(Jc
rImportExportTool.java:148)

at
org.apache.jackrabbit.tools.importexport.JcrImportExportTool.main(JcrImp
ortExportTool.java:562)

How to resoleve it?

Or is any free tool will be able to export or import a repository that
consists customary node type similar to nt:folder and nt:file, etc?

Your help is highly appreciated.

Sincerely Yours,
Chuck

 

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message