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 "Julian Reschke (JIRA)" <ji...@apache.org> on 2019/05/27 11:38:00 UTC
[jira] [Resolved] (OAK-8237) Unable to run Apache OAK with mySQL as
backing store.
[ https://issues.apache.org/jira/browse/OAK-8237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke resolved OAK-8237.
---------------------------------
Resolution: Cannot Reproduce
It works in unit and integration tests, so it has to be related to the specific setup.
> 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: rdbmk
> Affects Versions: 1.9.8
> Reporter: Vishnu Aggarwal
> Priority: Major
> Labels: mysql, oak, rdb
> Attachments: stacktrace.log
>
>
> 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)