jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Modrzyk <Nicolas.Modr...@macnica.com>
Subject Re: mysql for filesystem
Date Thu, 25 May 2006 08:30:29 GMT
HI Stefan,

Thank you for your quick answer. See below for my full configuration.  
I don't have the full strack trace anymore, I will try to reproduce it.

Does that mean it is better to simply have the persistence manager  
using the database, but keeping the FileSystem as regular files ?

Regards,

Nicolas,

============= Jackrabbit configuration file =================
<Repository>
         <FileSystem  
class="org.apache.jackrabbit.core.fs.db.DbFileSystem">
             <param name="driver" value="com.mysql.jdbc.Driver"/>
             <param name="url" value="jdbc:mysql:///test"/>
             <param name="schema" value="mysql"/>
             <param name="user" value="xxx"/>
             <param name="schemaObjectPrefix" value="rep_"/>
         </FileSystem>
     <Security appName="Jackrabbit">
         <AccessManager  
class="org.apache.jackrabbit.core.security.SimpleAccessManager"></ 
AccessManager>
         <LoginModule  
class="org.apache.jackrabbit.core.security.SimpleLoginModule">
             <param name="anonymousId" value="anonymous"/>
         </LoginModule>
     </Security>
     <Workspaces rootPath="${rep.home}/workspaces"  
defaultWorkspace="default"/>
     <Workspace name="default">
         <FileSystem  
class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
             <param name="path" value="${wsp.home}/default" />
         </FileSystem>
         <PersistenceManager  
class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
             <param name="driver" value="com.mysql.jdbc.Driver"/>
             <param name="url" value="jdbc:mysql:///test"/>
             <param name="schema" value="mysql"/>
             <param name="user" value="xxx"/>
             <param name="schemaObjectPrefix" value="${wsp.name}_"/>
             <param name="externalBLOBs" value="false"/>
         </PersistenceManager>
         <SearchIndex  
class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
             <param name="textFilterClasses"
                     
value="org.apache.jackrabbit.core.query.MsExcelTextFilter,org.apache.jac 
krabbit.core.query.MsPowerPointTextFilter,org.apache.jackrabbit.core.que 
ry.MsWordTextFilter,org.apache.jackrabbit.core.query.PdfTextFilter,org.a 
pache.jackrabbit.core.query.HTMLTextFilter,org.apache.jackrabbit.core.qu 
ery.XMLTextFilter,org.apache.jackrabbit.core.query.RTFTextFilter"/>
             <param name="path" value="${wsp.home}/index"/>
             <param name="useCompoundFile" value="true"/>
             <param name="minMergeDocs" value="100"/>
             <param name="volatileIdleTime" value="3"/>
             <param name="maxMergeDocs" value="100000"/>
             <param name="mergeFactor" value="10"/>
             <param name="bufferSize" value="10"/>
         </SearchIndex>
     </Workspace>
     <Versioning rootPath="${rep.home}/version">
         <FileSystem  
class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
             <param name="path" value="${rep.home}/workspaces/version"/>
         </FileSystem>
         <PersistenceManager  
class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
             <param name="driver" value="com.mysql.jdbc.Driver"/>
             <param name="url" value="jdbc:mysql:///test"/>
             <param name="schema" value="mysql"/>
             <param name="user" value="xxx"/>
             <param name="schemaObjectPrefix" value="version_"/>
             <param name="externalBLOBs" value="false"/>
         </PersistenceManager>
     </Versioning>
</Repository>

Mime
View raw message