Thanks!

Including this file and deleting the data folder my files are now stored in the database. But, now I have another problem: if I change again the externalBLOBs value to true the files are stored in the database yet instead the filesystem. I try deleting the server/default/data but the problem persists.

And another question: how can I export and import the content of a domain? Do I need to use the Nuxeo API or there is another solution?

Thanks in advance.

Regards.

Julien CARSIQUE escribió:
Hi,

In the changes you listed, this file is missing in order to change compass backend : config/jdbc-compass-connection-config.xml (a sample file is in nuxeo-platform/nuxeo-platform-ear/postgresql-setup/config/jdbc-compass-connection-config.xml)

About storing files in your database, did you start with a cleaned server/default/data after having configured default-repository-config.xml ? As said Florent, check the values into your server/default/data/NXRuntime/repos/default/default.xml

Regards,

Enrique Perez a écrit :

Florent Guillaume escribió:
On 13 Mar 2008, at 17:33, Enrique Perez wrote:
I'm trying to configure PostgreSQL as my default database.

The logs, usernames, groups and other details are stored in my database, but the document files are in the HSQL database. Why are not the documents in PostgreSQL database?

Documents are never stored in an HSQL database unless you explictely changed the configuration to do that. If you mean stored in server/default/data/NXRuntime/repos, that's the location of the filesystem repositories.

Sorry, I mean stored in the filesystem.

I've configured the default repository with my data connections in default-repository-config.xml:

<PersistenceManager class="org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager">
   <param name="driver" value="org.postgresql.Driver"/>
   <param name="url" value="jdbc:postgresql://localhost:5432/nuxeo"/>
   <param name="user" value="enrique"/>
   <param name="password" value="enrique"/>
   <param name="schema" value="postgresql"/>
   <param name="schemaObjectPrefix" value="jcr_${wsp.name}_"/>
   <param name="externalBLOBs" value="false"/>
</PersistenceManager>

But, although I have the externalBLOBs property set to false, my files are stored in the filesystem instead the database.

What's wrong?

Thanks in advance.

Regards.





--
Enrique Pérez Olivares.
Dpto I+D.
Yerbabuena Software.
[EMAIL PROTECTED]
http://www.yerbabuena.es
Tlf/Fax: 902 995 246
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to