-
1. Re: Import/export data. Issue with infinispan configuration
rhauch Apr 3, 2013 8:11 AM (in response to eshevchenko)Be aware that it is not possible to backup and restore a repository using JCR's export and import. The problem is that these operations are per workspace, whereas all the versioning and other sytem content (e.g., under "/jcr:system" of each workspace) is actually shared by all workspaces and will not be imported. This is a known limitation of JCR's import/export, and in fact the reference implementation does the same thing we do. JCR's import/export functionality is for transferring a subset of information between repositories.
ModeShape provides a backup/restore capability that is handles the whole repository in a correct way.
However, if your problem is not at all related to system content (e.g., version histories, namespaces, node types, etc.) but merely is regular content, then please try to replicate this with H2 or another open source database. (We prefer H2 or HSQLDB because they are embeddable. MySQL is good and PostgreSQL is fantastic, but not all developers have access to such DBMS installations.)
-
2. Re: Import/export data. Issue with infinispan configuration
eshevchenko Apr 3, 2013 9:18 AM (in response to rhauch)Thank you Randall for your answer and sorry for confusion. I try to rephrase my problem. I want to import/export data. In previous message i share my configuration(see attachement). I export data(i use session.exportSystemView). After import (i use session.importXML) new data is not available. It's become available only after restarting application server. All operations were executed without any exceptions. I tried to reproduce this issue on [tests|https://github.com/ModeShape/modeshape/pull/768/files]
-
3. Re: Import/export data. Issue with infinispan configuration
rhauch Apr 3, 2013 9:55 AM (in response to eshevchenko)Thanks for the updated pull-request and updating the issue. We'll take a look.