Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
Gustav Novotný
Prefered DLStore (dl.store.impl) in Liferay CE from version 6.1
23. November 2012 06:52

Gustav Novotný

Rang: New Member

Nachrichten: 15

Eintrittsdatum: 24. Januar 2012

Neue Beiträge

we want to provide Liferay CE 6.1.1 in a cluster. Because all cluster nodes must access to one shared Document Library Storage (DLStore), we decided to use a database for this.
Now the question is which type of DLStorage (which use a database) is now recomended to use in 6.1.1, because it seems there are some changes from previous versions. So which of these two options is recommended for production?

1) com.liferay.portlet.documentlibrary.store.JCRStore
Until 6.1 this seems to be the most frequently used DB solution: JCRStore with Jackrabbit configured to a databaze access (for example with o.a.j.c.data.db.DbDataStore, o.a.j.c.fs.db.DbFileSystem and o.a.j.c.persistence.db.SimpleDbPersistenceManager)

2) com.liferay.portlet.documentlibrary.store.DBStore
Since Liferay 6.1.1 new DBStore is implemented, but we can hardly find any documentation for this. Especially information about detailed settings of DBStore such as:
- Is this new DBStore already stable and if so, is this the best way to store data in database?
- Where the database for DBStore is located?
- If DBStore database is located together with main Liferay Database, how can I set separate location for tables with big blob data?
- Is it possible to set some other tunable parameters for DBStore?
- How can I migrate data from default FileSystemStore in document_library folder into DBStore?
- How can I migrate default /document_library/0/0 tree (where dataRepositoryId=0 and folderId=0) where files uploaded via structures as journal content is stored?

I've found some issue on liferay jira (http://issues.liferay.com/browse/LPS-25313) about supported DLStore, where use of DBStore is recomended, because JCRStore will be deprecated, but nothing more about the new DBStore possibility.

I'd really appreciate any info about this or any documentation links (not much found in liferay.com resources).

Thanks a lot,
Gustav Novotny
Hitoshi Ozawa
RE: Prefered DLStore (dl.store.impl) in Liferay CE from version 6.1
24. November 2012 04:31

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7949

Eintrittsdatum: 23. März 2010

Neue Beiträge

because JCRStore will be deprecated

It's deprecated in 6.1. It's no longer in portal.properties.
Riccardo Ferrari
RE: Prefered DLStore (dl.store.impl) in Liferay CE from version 6.1
27. November 2012 04:04

Riccardo Ferrari

Rang: Regular Member

Nachrichten: 139

Eintrittsdatum: 13. November 2010

Neue Beiträge


Are there any reason to not go for the AdvancedFileSystemHook with data stored on a proper network shared storage?

Denis Signoretto
RE: Prefered DLStore (dl.store.impl) in Liferay CE from version 6.1
23. Januar 2013 00:35

Denis Signoretto

Rang: Expert

Nachrichten: 349

Eintrittsdatum: 21. April 2009

Neue Beiträge

Hi Gustav,

I'm interested on the same topic. I'was lookign at related documentation that still include JCR usage and configutation and do not include any reference to DBStore. Did you experienced on it?


Participate in the State of Liferay Community 2017. Help the community and even win some prizes!