论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
Roberto Javier
Document Library to database with jackrabbit
2012年4月10日 下午2:45
答复

Roberto Javier

等级: New Member

帖子: 5

加入日期: 2012年3月1日

最近的帖子

Hello everybody,
I have installed liferay 5.2, and change the persistence of "Document Library" from filesystem to database by jackrabbit, en the file "portal-ext.properties" add:

##
## JCR
##
dl.hook.impl=com.liferay.documentlibrary.util.JCRHook
jcr.initialize.on.startup=true
jcr.workspace.name=liferay
jcr.node.documentlibrary=documentlibrary
jcr.jackrabbit.repository.root=${liferay.home}/data/jackrabbit
jcr.jackrabbit.config.file.path=${jcr.jackrabbit.repository.root}/repository.xml
jcr.jackrabbit.repository.home=${jcr.jackrabbit.repository.root}/home
jcr.jackrabbit.credentials.username=none
jcr.jackrabbit.credentials.password=none


in the file "repository.xml" I have:

.....
<FileSystem class="org.apache.jackrabbit.core.fs.db.OracleFileSystem">
<param name="driver" value="oracle.jdbc.driver.OracleDriver"/>
<param name="url" value="jdbc:oracle:thin:@localhost:1521:xe" />
<param name="user" value="pass" />
<param name="password" value="pass" />
<!-- The following value must oracle for oracle server this is not the same as the database schema -->
<param name="schema" value="oracle"/>
<param name="schemaObjectPrefix" value="J_R_FS_"/>
</FileSystem>
.....


Is keeping me well but can not find files that the database table, found that only modifies certain files:

...servers\server-mounts\opt\liferay\liferay-resource\data\lucene\10115

Where do you store the files?

Regards,

Roberto
Mika Koivisto
RE: Document Library to database with jackrabbit
2012年4月11日 下午12:39
答复

Mika Koivisto

LIFERAY STAFF

等级: Liferay Legend

帖子: 1501

加入日期: 2006年8月7日

最近的帖子

The binaries are somewhere in the tables starting with J_R_FS_