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

Unable to run Apache OAK with mySQL as backing store.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 1.9.8
    • None
    • rdbmk

    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment