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

MySQL isolation level check does not work for JNDI datasources

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

      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.

              richatkins Richard Atkins
              richatkins Richard Atkins
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

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