Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8237

Unable to run Apache OAK with mySQL as backing store.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.9.8
    • Fix Version/s: None
    • Component/s: rdbmk
    • Labels:

      Description

      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,

       

      java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed. 

      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.

        Attachments

        1. stacktrace.log
          7 kB
          Vishnu Aggarwal

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vishnuaggarwal23 Vishnu Aggarwal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: