Vivek Tayal 15 Years Ago Tarun,This will change for new documents upload. How to migrate existing documents in file system?Vivek Please sign in to reply. Reply as... Cancel
Josh Asbury 15 Years Ago Thanks for sharing this Tarun. I echo Vivek's question. Is there a way to migrate existing documents? Please sign in to reply. Reply as... Cancel
Rob Sonke 15 Years Ago And could you tell something about the performance in relation to the file based storage? I mean, jackrabbit is by default using the filesystem. Please sign in to reply. Reply as... Cancel Josh Asbury Rob Sonke 15 Years Ago Unless performance is horrible, I am all for moving over to the DB -- if for no other reason than easier maintenance and backups. Please sign in to reply. Reply as... Cancel Cool X Josh Asbury 15 Years Ago Can we limit directory size limits? Be it at per document library instance or at user level or community level etc? Please sign in to reply. Reply as... Cancel
Josh Asbury Rob Sonke 15 Years Ago Unless performance is horrible, I am all for moving over to the DB -- if for no other reason than easier maintenance and backups. Please sign in to reply. Reply as... Cancel Cool X Josh Asbury 15 Years Ago Can we limit directory size limits? Be it at per document library instance or at user level or community level etc? Please sign in to reply. Reply as... Cancel
Cool X Josh Asbury 15 Years Ago Can we limit directory size limits? Be it at per document library instance or at user level or community level etc? Please sign in to reply. Reply as... Cancel
Thomas Kellerer 14 Years Ago I can't get this to work. Liferay is completely ignoring my repository.xmlI can even have an error in the XML file and Liferay will still happily load my existing (file base) repository Please sign in to reply. Reply as... Cancel
Dan Eugene Williams 14 Years Ago This is what I have working now with SQL Server:<?xml version="1.0"?><Repository> <!-- DbFileSystem is a generic JDBC-based FileSystem implementation for Jackrabbit that persists file system entries in a database table. --> <FileSystem class="org.apache.jackrabbit.core.fs.db.DbFileSystem"> <param name="driver" value="com.microsoft.sqlserver.jdbc.SQLServerDriver" /> <param name="url" value="jdbc:sqlserver://localhost:1433;databaseName=dbname;SelectMethod=cursor;integratedSecurity=true"/> <param name="schema" value="mssql" /> <param name="schemaObjectPrefix" value="FS_"/> </FileSystem> <!-- Implements a trivially simple authentication mechanism that accepts any username and any password as valid authentication credentials. --> <Security appName="Jackrabbit"> <AccessManager class="org.apache.jackrabbit.core.security.SimpleAccessManager" /> <LoginModule class="org.apache.jackrabbit.core.security.SimpleLoginModule"> <param name="anonymousId" value="anonymous" /> </LoginModule> </Security> <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="frcop" /> <Workspace name="${wsp.name}"> <PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.MSSqlPersistenceManager"> <param name="driver" value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/> <param name="url" value="jdbc:sqlserver://localhost:1433;databaseName=dbname;SelectMethod=cursor;integratedSecurity=true"/> <param name="schema" value="mssql" /> <param name="schemaObjectPrefix" value="PM_${wsp.name}_" /> </PersistenceManager> <FileSystem class="org.apache.jackrabbit.core.fs.db.DbFileSystem"> <param name="driver" value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/> <param name="url" value="jdbc:sqlserver://localhost:1433;databaseName=dbname;SelectMethod=cursor;integratedSecurity=true"/> <param name="schema" value="mssql" /> <param name="schemaObjectPrefix" value="FS_${wsp.name}_"/> </FileSystem> </Workspace> <Versioning rootPath="${rep.home}/version"> <FileSystem class="org.apache.jackrabbit.core.fs.db.DbFileSystem"> <param name="driver" value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/> <param name="url" value="jdbc:sqlserver://localhost:1433;databaseName=dbname;SelectMethod=cursor;integratedSecurity=true"/> <param name="schema" value="mssql" /> <param name="schemaObjectPrefix" value="V_FS_"/> </FileSystem> <PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.MSSqlPersistenceManager"> <param name="driver" value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/> <param name="url" value="jdbc:sqlserver://localhost:1433;databaseName=dbname;SelectMethod=cursor;integratedSecurity=true"/> <param name="schema" value="mssql" /> <param name="schemaObjectPrefix" value="V_PM_" /> </PersistenceManager> </Versioning> <!-- Cluster Configuration This is sample configuration for mysql persistence that can be used for clustering Jackrabbit. For other databases, change the connection, credentials, and schema settings. <Cluster id="w4" syncDelay="5"> <Journal class="org.apache.jackrabbit.core.journal.DatabaseJournal"> <param name="revision" value="${rep.home}/revision"/> <param name="driver" value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/> <param name="url" value="jdbc:sqlserver://localhost:1433;databaseName=dbname;SelectMethod=cursor;integratedSecurity=true"/> <param name="schema" value="mssql" /> <param name="schemaObjectPrefix" value="J_C_"/> </Journal> </Cluster> --></Repository> Please sign in to reply. Reply as... Cancel
Brendan J Mullan 14 Years Ago MySql Table?Thanks Tarun. I've been working on a company intranet in a number of Liferay testbed setups. So I have migrated data to different instances. It'll be useful to have document library in the database from a migration perspective. 2 questions that perhaps someone can answer:1. Which table in MySql stores the documents?2. Is there any way to migrate existing documents in the file system to MySql>TIA Please sign in to reply. Reply as... Cancel Chidananda Naidu Gonuguntla Brendan J Mullan 14 Years Ago org.apache.jackrabbit.core.config.ConfigurationException: Configuration file syntax error. (Line: 23 Column: 15): Content is not allowed in trailing section.: Content is not allowed in trailing section. Please sign in to reply. Reply as... Cancel
Chidananda Naidu Gonuguntla Brendan J Mullan 14 Years Ago org.apache.jackrabbit.core.config.ConfigurationException: Configuration file syntax error. (Line: 23 Column: 15): Content is not allowed in trailing section.: Content is not allowed in trailing section. Please sign in to reply. Reply as... Cancel
Bradai Salma 13 Years Ago Hi Jonas,I'm using Liferay 6.0.5 and I want to configure document Library to store Data in data baseis that blog useful for my Liferay version? Please sign in to reply. Reply as... Cancel