jcr:uuid property is not created when XML is imported
Hii I have exported a node structure using exportDocumentView() and written it a file. In the exported xml document jcr:mixintypes property is not present i.e mixin types of the node are not exported Later when i tried to import the same node structure using importXML(...) I see that jcr:uuid property is not created . I have tried out using ImportUUIDBehaviour.CREATE_NEW Why does export and import take care of mixin types. Is there any thing obvious that i am missing . Please help me out Thanks K.Joshna
Re: Repository BackUp and Restore
i came across these set of features are supported by jecars .But i couldn't get jecars working. -Node Type Export -NameSpace Export -Binary Data is seperatly exported. -Node/Property Export -Version Export(experimental) If we observe there are very few tools available for Backup and Restore. And most of them have limitations with respect to versions export. What is the preferred solution for Jackrabbit respository backup and restore in production environment. Should we go with the low level database backup .Is there any better solution that can be provided . Regards K.Joshna On Fri, Mar 14, 2008 at 2:00 PM, Paco Avila <[EMAIL PROTECTED]> wrote: > JECARS backup utility works with version history? > > -- > Paco Avila <[EMAIL PROTECTED]> > GIT Consultors > >
Re: Repository BackUp and Restore
Hi Paco As you have worked on JCR-Backup tool.It will be very helpful if you can share the steps to get it working and use the tool for export and import. Do you have any idea when they are planning to migrate to jackrabbit 1.4. Thanks for the help Regards K.Joshna On Wed, Mar 12, 2008 at 9:13 PM, Paco Avila <[EMAIL PROTECTED]> wrote: > I've tested JCR-Backup and work... more or less. They are migrating to > Jacrabbit 1.4 because actually only supports 1.3 repositories. And i'm > not sure it exports/imports version history. > > El mié, 12-03-2008 a las 18:25 +0530, Joshna Reddy escribió: > > Hi All > > > > I am working on Project Mirage (https://mirage.dev.java.net) which uses > > JackRabbit as content repository. > > > > I wanted to backup/restore the entire content when we migrate from one > > database to another. I have gone through some earlier > > mail threads and found about JECARS and JCR-Backup Tools. > > > > I have tried out JECARS , but it hangs indefinitely after exporting > > namespaces and nodetypes. Look's like it is hanging while exporting > content. > > But there is not much content stored in my repository. > > > > And with JCR-BackUp tool I couldn't try out because ,I couldn't find any > > kind of help or documentation . > > > > Looks like both of these tools are still in development phase and not > fully > > feature complete. > > > > Can anyone suggest how we can go about , entire repository > backup/restore > > ,specially when DbPersistenceManager is used and all the content is > > being stored in a database. > > Restore should be able to import entire node structure ,create tables > and > > store the entire content in the new database . > > > > Any help would be appreciated. > > > > Regards > > K.Joshna > -- > Paco Avila <[EMAIL PROTECTED]> > GIT Consultors > >
Re: Repository BackUp and Restore
Hi Jacco I don't have much information about why it is hanging.But after starting the jeCars .I have selected the repository directory and then selected a empty directory for export .This is what happens *C:\>java -cp c:\softwares\jecars-core-0.20.jar org.jecars.backup.JB_B ackupTool log4j:WARN No appenders could be found for logger ( org.apache.jackrabbit.core.TransientRepository). log4j:WARN Please initialize the log4j system properly. Export namespaces using JB file: C:\cms_repository_export\exportNamespaces.jb Using JB file: C:\cms_repository_export\exportJeCARS.jb *I am using DB persistence Manager and storing all my data in derby .The repository directory "cms_repository" just points to database. Do you want me to attach the "cms_repository" diretcory. Thanks K.Joshna On Thu, Mar 13, 2008 at 2:50 AM, Jacco van Weert <[EMAIL PROTECTED]> wrote: > Hello, > > On Wed, Mar 12, 2008 at 1:55 PM, Joshna Reddy <[EMAIL PROTECTED]> wrote: > > > Hi All > > > > I am working on Project Mirage (https://mirage.dev.java.net) which uses > > JackRabbit as content repository. > > > > I wanted to backup/restore the entire content when we migrate from one > > database to another. I have gone through some earlier > > mail threads and found about JECARS and JCR-Backup Tools. > > > > I have tried out JECARS , but it hangs indefinitely after exporting > > namespaces and nodetypes. Look's like it is hanging while exporting > > content. > > But there is not much content stored in my repository. > > > > > Can you give me more information about the "hanging" perhaps the > repository itself so that I can debug the problem? > > > Greetings, > > Jacco > > > > -- > - > Jacco van Weert -- [EMAIL PROTECTED] > JCR Controller -- > http://www.xs4all.nl/~weertj/jcr<http://www.xs4all.nl/%7Eweertj/jcr> > JeCARS -- http://jecars.sourceforge.net >
Repository BackUp and Restore
Hi All I am working on Project Mirage (https://mirage.dev.java.net) which uses JackRabbit as content repository. I wanted to backup/restore the entire content when we migrate from one database to another. I have gone through some earlier mail threads and found about JECARS and JCR-Backup Tools. I have tried out JECARS , but it hangs indefinitely after exporting namespaces and nodetypes. Look's like it is hanging while exporting content. But there is not much content stored in my repository. And with JCR-BackUp tool I couldn't try out because ,I couldn't find any kind of help or documentation . Looks like both of these tools are still in development phase and not fully feature complete. Can anyone suggest how we can go about , entire repository backup/restore ,specially when DbPersistenceManager is used and all the content is being stored in a database. Restore should be able to import entire node structure ,create tables and store the entire content in the new database . Any help would be appreciated. Regards K.Joshna
InvalidPersistentClassException : Node type: nt:unstructured has no descriptor.
I am using jackrabbit-ocm to create ,store and retrieve folders and documents.It was working fine . But with the recent Nov 12th jackrabbit 1.4 SNAPSHOT jars it is not working .It throws the following error InvalidPersistentClassException : Node type: nt:unstructured has no descriptor. The AbstractMapperImpl class' getClassDescriptorByNodeType(String jcrNodeType) is called and the mappingDescriptor.getClassDescriptorByNodeType(jcrNodeType); returns null. This is my mapping xml. Regards, K.Joshna