Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Gwowen Fu
Is "Documents and Media" the only content can be stored in Jackrabbit?
July 12, 2012 7:54 AM
Answer

Gwowen Fu

Rank: Expert

Posts: 253

Join Date: December 27, 2010

Recent Posts

Hi,

What kind of Liferay data can be stored in Jackrabbit? Besides Documents and Media, could "Web Content", "Wiki", "Blogs", "Categories", "Tags",..., be stored in Jackrabbit?

Could someone point out a document explaining what can be stored and how to configure it?

Thanks!
Gwowen
Linus Sphinx
RE: Is "Documents and Media" the only content can be stored in Jackrabbit?
July 12, 2012 10:37 AM
Answer

Linus Sphinx

Rank: Junior Member

Posts: 84

Join Date: August 12, 2010

Recent Posts

http://jackrabbit.apache.org/
Mika Koivisto
RE: Is "Documents and Media" the only content can be stored in Jackrabbit?
July 12, 2012 2:11 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1498

Join Date: August 7, 2006

Recent Posts

Liferay only uses is as a binary storage through JCRStore hook. We are actually phasing it out completely because we are not using it to it's full potential and because of severe performance problems with.
David H Nebinger
RE: Is "Documents and Media" the only content can be stored in Jackrabbit?
July 12, 2012 8:41 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6714

Join Date: September 1, 2006

Recent Posts

Mika Koivisto:
Liferay only uses is as a binary storage through JCRStore hook. We are actually phasing it out completely because we are not using it to it's full potential and because of severe performance problems with.


Um, cool, I guess. What alternatives are you considering for it's replacement?
Mika Koivisto
RE: Is "Documents and Media" the only content can be stored in Jackrabbit?
July 16, 2012 1:43 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1498

Join Date: August 7, 2006

Recent Posts

If you want to store the stuff in DB then there's DBStore as of LR 6.1
David H Nebinger
RE: Is "Documents and Media" the only content can be stored in Jackrabbit?
July 16, 2012 2:27 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6714

Join Date: September 1, 2006

Recent Posts

It's not what I'm going to be storing where, but where Liferay would be storing it...

If Liferay isn't going to be using the jackrabbit repository, what will Liferay be using as the alternative? DBStore also? Just interested out of curiosity and keeping up w/ the myriad of changes ;D
Mika Koivisto
RE: Is "Documents and Media" the only content can be stored in Jackrabbit?
July 16, 2012 3:26 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1498

Join Date: August 7, 2006

Recent Posts

Liferay uses FileSystemStore by default and as alternative to JCRStore (which people only use to store files in Demoticon we have DBStore.
Sachin Mane
RE: Is "Documents and Media" the only content can be stored in Jackrabbit?
July 16, 2012 9:41 PM
Answer

Sachin Mane

Rank: Junior Member

Posts: 76

Join Date: April 9, 2012

Recent Posts

We are using lifearay in a clustered setup. We do not have any shared storage. We have configured liferay to use JCR for storing documents and in turn JCR is configured to use Database.

Do you recommend directly configuring liferay to use DBStore for documents and images?
Mika Koivisto
RE: Is "Documents and Media" the only content can be stored in Jackrabbit?
July 18, 2012 2:01 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1498

Join Date: August 7, 2006

Recent Posts

Yeah DBStore will be a better option than JCRStore.
Hitoshi Ozawa
RE: Is "Documents and Media" the only content can be stored in Jackrabbit?
July 18, 2012 2:52 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Seems like it's a better option than moving to use CMIS because that adds extra cost. Will try out DBStore. :-)
Gwowen Fu
RE: Is "Documents and Media" the only content can be stored in Jackrabbit?
August 17, 2012 8:42 AM
Answer

Gwowen Fu

Rank: Expert

Posts: 253

Join Date: December 27, 2010

Recent Posts

Mika Koivisto:
Yeah DBStore will be a better option than JCRStore.


After I switch to DBStore, I got the following exception:
...
Caused by: com.liferay.portal.kernel.dao.orm.ORMException: java.lang.ClassCastEx
ception: com.liferay.portal.kernel.dao.jdbc.OutputBlob cannot be cast to oracle.
sql.BLOB


What do I need to do to use DBStore that is different from JCRStore?

Thanks!
Gwowen
Sachin Mane
RE: Is "Documents and Media" the only content can be stored in Jackrabbit?
September 26, 2012 12:54 AM
Answer

Sachin Mane

Rank: Junior Member

Posts: 76

Join Date: April 9, 2012

Recent Posts

Hi Mika,

We are using Liferay 6.0 and want to use clustered setup. We do not have SAN. DbStore is only available in 6.1.
Are there any other alternatives than using JCRStore ?

What if we use Jackrabbit which is configured to use Database to store documents?