Visible Content Store (SQL storage) does not use a JDBC datasource, so unified-nuxeo-ds.xml is useless.
To set it up the, please read
http://hg.nuxeo.org/nuxeo/nuxeo-core/file/1.5/nuxeo-core-storage-sql/README.txt

This will be in the documentation when 5.2 final is released.

Florent

On 11 Mar 2009, at 18:46, Antoine Taillefer wrote:

Hello,

I'm trying to use postgre with nuxeo 5.2.
Reading nuxeo-book at section 40.3.1, I can see that there is much more code in the default-repository-config.xml file sample than in the actual file on my nuxeo 5.2 install :

<?xml version="1.0"?>
<component name="default-repository-config">
  <extension target="org.nuxeo.ecm.core.repository.RepositoryService"
    point="repository">
    <repository name="default"
factory ="org.nuxeo.ecm.core.storage.sql.coremodel.SQLRepositoryFactory">
      <repository name="default">
        <indexing>
          <!-- for H2 (Lucene Analyzer): -->
<!--<fulltext analyzer="org.apache.lucene.analysis.fr.FrenchAnalyzer"/>-->
          <!-- for PostgreSQL (Text Search Configuration): -->
          <fulltext analyzer="english"/>
        </indexing>
      </repository>
    </repository>
  </extension>
</component>

I uncommented the PostGre code in this file, and also modified unified-nuxeo-ds.xml, but this doesen't seem to be enough, since I still get my Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: simplefsl...@d:\projets\the_client\nuxeo- ep-5.2.0.m4\server\default\data\h2\nuxeo.lucene\write.lock
error, which is related to  h2 storage…

Nevertheless, I noticed that 57 tables have been created in my postgre database (mostly jbpm_*), which doesn't seem a lot...

Moreover, I get the following error :

com.hp.hpl.jena.shared.JenaException: The database appears to be unformatted or corrupted and an attempt to automatically format the database has failed

If one can help…
Thanks,

--
Florent Guillaume, Head of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87

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

Reply via email to