You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Vishnu Aggarwal (JIRA)" <ji...@apache.org> on 2019/04/15 04:42:00 UTC

[jira] [Created] (OAK-8237) Unable to run Apache OAK with mySQL as backing store.

Vishnu Aggarwal created OAK-8237:
------------------------------------

             Summary: Unable to run Apache OAK with mySQL as backing store.
                 Key: OAK-8237
                 URL: https://issues.apache.org/jira/browse/OAK-8237
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: api, jcr, rdbmk
    Affects Versions: 1.9.8
            Reporter: Vishnu Aggarwal


I am running a Grails 3.3.5 application with Apache OAK 1.9.8. When I use mySQL(v 5.7) as the backing node store, the application fails to boot-up.

I used org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentNodeStoreBuilder to create the repository object. 

At that moment, I get the following exception,

 
{code:java}
java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed. {code}
This is issue comes even when I have specifically checked that the connection is in write mode and even explicitly opened the connection in write mode.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)