留言板

Document Library to database with jackrabbit

thumbnail
Roberto Javier,修改在12 年前。

Document Library to database with jackrabbit

New Member 帖子: 5 加入日期: 12-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
thumbnail
Mika Koivisto,修改在12 年前。

RE: Document Library to database with jackrabbit

Liferay Legend 帖子: 1519 加入日期: 06-8-7 最近的帖子
The binaries are somewhere in the tables starting with J_R_FS_