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

Confluence DB Connection Pool Startup Check

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Low
    • None
    • 6.14.0, 6.13.2, 6.14.1, 7.4.11, 7.7.3, 7.11.1, 7.13.2, 7.19.2, 7.19.9

    Description

      Confluence appears to ignore Tomcat Datasource DB config for this check. I get the nag screen "Your database connection pool size is not configured. The recommended minimum size is 60" after changing to DS config following these instructions - https://confluence.atlassian.com/conf64/configuring-a-datasource-connection-936511522.html#Configuringadatasourceconnection-3.ConfigurethedatasourceinTomcat
      According to  https://confluence.atlassian.com/confkb/startup-check-database-connection-pool-size-960713815.html this shouldn't be the case.

      I'll attach server.xml, web.xml and confluence.cfg.xml files. They clearly show maxTotal size is 70 with HTTP maxThreads of 56.

      It just looks like the check assumes you have configured c3p0 and is probbaly using the default value for it since it's not configured.

       

      Workaround

      Use C3P0.
       

      Attachments

        1. confluence.cfg.xml
          5 kB
        2. server.xml
          2 kB
        3. web.xml
          63 kB

        Issue Links

          Activity

            People

              jponting James Ponting
              smontgomery Stephen Montgomery (Inactive)
              Votes:
              24 Vote for this issue
              Watchers:
              35 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: