Hello, I already figure it out anyway.
Thanks a lot. Cheers. freak182 wrote: > > Hello, > > Thank you for that. Anyway, i configure my PM to BundleDB: > > <PersistenceManager > class="org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager"> > > > > > > > > > > > </PersistenceManager> > > but no table/s created in jcrpm db. did i miss something? > > Thanks a lot. Cheers. > > > Thomas Müller-2 wrote: >> >> Hi, >> >> Please read here: http://wiki.apache.org/jackrabbit/DataStore >> >> Regards, >> Thomas >> >> On Mon, Aug 31, 2009 at 4:42 PM, freak182<[email protected]> wrote: >>> >>> Hello, >>> >>> One thing i notice on FileDataStore even if i perform delete in my >>> application the files are still there in repository/datastore >>> directory...does datastore behaves like that, you can only add entry? >>> never >>> delete? >>> >>> >>> Alexander Klimetschek wrote: >>>> >>>> On Mon, Aug 31, 2009 at 3:34 PM, freak182<[email protected]> >>>> wrote: >>>>> <PersistenceManager >>>>> class="org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager" >>>>> /> >>>> >>>> A database based bundle persistence manager is recommended, as the >>>> filesystem ones (eg. BundleFsPersistenceManager) are prone to >>>> inconsistencies as they are not transactional. For embedded scenarios >>>> without an existing (remote) database, the Derby bundle PM is useful. >>>> >>>>> 1. Do still need a DataSore? what DataStore i use for production? >>>> >>>> A datastore is optional. See [1] to [3]. >>>> >>>>> 2. what is the difference between a DataStore and FileSystem? >>>> >>>> Also see the links. >>>> >>>>> 3. what is the best combination of DataStore and PM for production >>>>> use? >>>>> and >>>>> for clustering? >>>> >>>> Bundle database PMs are good, and the FileDataStore is good for >>>> performance. If you must have everything in the database, a db >>>> datastore might be better. >>>> >>>>> side question: >>>>> 4. How to configure DatabaseFileSystem? >>>> >>>> Configuration of repository.xml elements are described on the >>>> configuration page [1] and in more detail in the javadocs of the >>>> class, eg. for the DbFileSystem it's [4]. >>>> >>>> [1] http://jackrabbit.apache.org/jackrabbit-configuration.html >>>> [2] http://wiki.apache.org/jackrabbit/PersistenceManagerFAQ >>>> [3] http://wiki.apache.org/jackrabbit/DataStore >>>> [4] >>>> http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/core/fs/db/DbFileSystem.html >>>> >>>> Regards, >>>> Alex >>>> >>>> -- >>>> Alexander Klimetschek >>>> [email protected] >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Question-about-LocalFileSystem-and-DataStore-%28File-and-DB%29-tp25223633p25224674.html >>> Sent from the Jackrabbit - Users mailing list archive at Nabble.com. >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Question-about-LocalFileSystem-and-DataStore-%28File-and-DB%29-tp25223633p25225736.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
