Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-22800

MySQL isolation level check does not work for JNDI datasources

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Highest
    • 3.5.9
    • 3.5.6
    • None

    Description

      The method Confluence is currently using for connecting to the database during bootstrap checks only works for C3P0 based connection settings. These settings are only set for direct JDBC connections, and are not available for JNDI datasource connections. Confluence needs to verify the connection settings by using whatever ConnectionProvider is appropriate (e.g. as determined by Hibernate's ConnectionProviderFactory), rather than just choosing one at random.

      By failing to open connections in with the correct provider, Confluence will refuse to start for any customer using MySQL via a JNDI datasource, making this a blocker for any affected customer.

      Attachments

        Issue Links

          Activity

            People

              richatkins Richard Atkins
              richatkins Richard Atkins
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified