Tiry <[EMAIL PROTECTED]> wrote:
  
> Depending on your repository settings the files (blobs) can be stored in 
> a SQL DB or in the filesystem.
> If you use JackRabbit with a SQL Persistence manager you can set the 
> external blob flag to true in order to let JackRabbit store the blobs 
> directly on the filesystem.
> Please see : 
>
http://doc.nuxeo.org/5.1/books/nuxeo-book/html-single/#admin-database-configuration
> http://wiki.apache.org/jackrabbit/PersistenceManagerFAQ

I followed everything chapter 32.2 specified for moving to a MySQL database,
including the installation of the JDBC, the configuration of the Nuxeo Core
Storage, and the configuration of the database. The one change I did make,
however, was to the PersistenceManager class declaration in
default-repository-config.xml, which instead of
"org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager" uses
"org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager".

When I log into Nuxeo, I get an error:

Exception: javax.jcr.RepositoryException. message: The repository home
/mnt/nfs_exports/local/nuxeo-5.1.5.GA/server/default/data/NXRuntime/repo
/default appears
to be already locked by the current process.

org.nuxeo.ecm.core.api.ClientException org.nuxeo.ecm.core.api.WrappedException:
Exception: org.nuxeo.ecm.core.api.ClientException. message: Error opening
session for repository default
org.nuxeo.ecm.platform.ui.web.shield.NuxeoErrorInterceptor.
invokeAndWrapExceptions(NuxeoErrorInterceptor.java:102)


Does anyone know what is wrong and how I can fix it? Also, possibly related to
the other question, is it possible that the MySQL database won't connect if its
password, username, url, and database name are different from what's instructed
in Example 32.3 - Sample configuration for a MySQL Jackrabbit repository? I've
used something different, and 

Thanks,

Chris

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

Reply via email to