SonarQube
  1. SonarQube
  2. SONAR-2359

Most of properties sonar.jdbc.* should not be required when JDBC datasource is loaded from JNDI

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8
    • Component/s: Database
    • Labels:
      None
    • Number of attachments :
      0

      Description

      When Sonar WAR is deployed into a JEE server, the JDBC datasource can be loaded from JNDI if the property sonar.jdbc.jndiName is set. In this case many properties are not used: sonar.jdbc.url, sonar.jdbc.username, sonar.jdbc.password and properties related to connection pool (sonar.jdbc.maxActive, ...). Server startup must not fail if they are missing.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Simon Brandhof
            Reporter:
            Simon Brandhof
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: