Andreas Haumer a écrit : > Hi! > > Olivier Grisel schrieb: >> Andreas Haumer a écrit : > [...] >>> So it looks like if you already have some data in a filesystem- >>> based repository you can't switch to a RDBMS based reporitory. >>> Is this true? >> There is not such thing as automatic persistence manager upgrade tool. > > > ok, but that's not exactly what I meant: I didn't expect > Nuxeo to migrate my data from the filesystem based > repository automatically to the database. I excpected > that with the change in "default-repository-config.xml" > Nuxeo would use the database as repository storage from > that point on *as a new, fresh and empty repository* > > After I did the change, Nuxeo indeed showed an empty > workspace so to me it looked like the changes were ok. > > I was surprised to find that Nuxeo seems to ignore my > changes to the "default-repository-config.xml" config > file and instead kept using the old, filesystem-based > repository! > > I.e. even after I have a "SimpleDbPersistenceManager" > configured for workspace and versioning, Nuxeo still > uses the old filesystem-based one, even for new documents. > > I think an application shouldn't surprise it's users > that way... :-)
Hum yes you are right, jackrabbit tends to copy per-workspace configuration samples and do not override them even though you change the master configuration. To make sure it uses the newly persistence manager, you will have to erase (after a backup) the config files in subfolders of the server/default/data/NXRuntime/ directory. -- Olivier _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
