OK, thank you. Is it a good idea to store the uploaded files in database ?




Julien CARSIQUE <[EMAIL PROTECTED]> 
27/11/2007 17:22

To
[EMAIL PROTECTED]
cc
[email protected]
Subject
Re: [Ecm] MySQL configuration






Not with externalBLOBs=true.

From 
http://doc.nuxeo.org/current/reference/html/administration.html#admin-database-configuration
 
:
<< In particular, decide if you want the binary blobs stored inside the 
database or in the filesystem (change externalBLOBs to true if you want 
them outside the database, in the filesystem). >>

[EMAIL PROTECTED] a écrit : 

Yes, I deleted the data and tmp folders. 


I modified the two sections of 
$JBOSS_HOME/server/default/deploy/nuxeo.ear/config/default-repository-config.xml
 
 : 
        <!-- Workspaces configuration. Nuxeo only uses the default 
workspace. --> 
        (...) 
          <PersistenceManager 
class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager"> 
            <param name="driver" value="com.mysql.jdbc.Driver"/> 
            <param name="url" value="jdbc:mysql://localhost/basenuxeo"/> 
            <param name="user" value="root"/> 
            <param name="password" value="mdp"/> 
            <param name="schema" value="mysql"/> 
            <param name="schemaObjectPrefix" value="jcr_${wsp.name}_"/> 
            <param name="externalBLOBs" value="true"/> 
          </PersistenceManager> 
        (...) 
        <!-- Versioning configuration. --> 
          (...) 
          <PersistenceManager 
class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager"> 
            <param name="driver" value="com.mysql.jdbc.Driver"/> 
            <param name="url" value="jdbc:mysql://localhost/basenuxeo"/> 
            <param name="user" value="root"/> 
            <param name="password" value="mdp"/> 
            <param name="schema" value="mysql"/> 
            <param name="schemaObjectPrefix" value="jcr_ver_"/> 
            <param name="externalBLOBs" value="true"/> 
          </PersistenceManager> 
Does this mean the uploaded files will be stored in MySQL database ? 




Tiry <[EMAIL PROTECTED]> 
27/11/2007 16:14 

Please respond to
[EMAIL PROTECTED]



To
[EMAIL PROTECTED] 
cc
[email protected] 
Subject
Re: [Ecm] MySQL configuration








The repository configuration is cached.
If you want to alter the repository config, you need to delete your data
directory (will lose your data).


Le mardi 27 novembre 2007 à 15:58 +0100, [EMAIL PROTECTED] a écrit :
> 
> The uploaded files are stored in the repository. If I modify the 2
> PersistanceManager sections of default-repository-config.xml, the
> files are still stored in C:\Program Files\nuxeo-5.1.2.GA\server
> \default\data ? 
> _______________________________________________
> ECM mailing list
> [email protected]
> http://lists.nuxeo.com/mailman/listinfo/ecm




_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
 


-- 
Julien CARSIQUE, Nuxeo (Paris, France)
Open Source Enterprise Content Management - http://www.nuxeo.org/
Nuxeo EP 5: extensible, Java EE and standards based ECM Platform
http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87 

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to