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

Misleading information on the log upon startup when using SQL Server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Timed out
    • Low
    • None
    • 4.2.5, 4.3.2
    • None

    Description

      Problem Description
      When using SQL Server with Confluence, upon startup it will returned some warning message that might cause confusion or false alarm. Here's the warning message returned during startup.

      In Confluence 4.2.5

      2012-10-31 16:10:20,353 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 4.2.5 (build #3284)
      2012-10-31 16:10:23,989 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started
      2012-10-31 16:10:28,316 INFO [main] [com.atlassian.confluence.lifecycle] <init> Loading EhCache cache manager
      2012-10-31 16:10:46,032 WARN [main] [render.xhtml.migration.DefaultWikiToXhtmlSiteMigrator] calculateNumberOfMigrationThreads SQL Server detected so only one thread will be used in migration to avoid dead lock problems.
      2012-10-31 16:10:52,185 WARN [main] [render.xhtml.migration.DefaultWikiToXhtmlSiteMigrator] calculateNumberOfMigrationThreads SQL Server detected so only one thread will be used in migration to avoid dead lock problems.
      

      In Confluence 4.3.2 (it has one more additional class)

      2012-10-26 11:23:15,586 INFO [main] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 4.3.2 (build #3391, rc989735defd8798a9d5e69c058c254be2e5a762b)
      2012-10-26 11:23:19,820 INFO [main] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started
      2012-10-26 11:23:24,800 INFO [main] [com.atlassian.confluence.lifecycle] <init> Loading EhCache cache manager
      2012-10-26 11:23:45,408 WARN [main] [render.xhtml.migration.DefaultWikiToXhtmlSiteMigrator] calculateNumberOfMigrationThreads SQL Server detected so only one thread will be used in migration to avoid dead lock problems.
      2012-10-26 11:23:46,293 WARN [main] [render.xhtml.migration.PageTemplateWikiToXhtmlSiteMigrator] calculateNumberOfMigrationThreads SQL Server detected so only one thread will be used in migration to avoid dead lock problems.
      2012-10-26 11:23:54,143 WARN [main] [render.xhtml.migration.DefaultWikiToXhtmlSiteMigrator] calculateNumberOfMigrationThreads SQL Server detected so only one thread will be used in migration to avoid dead lock problems.
      

      This issue caused misinformation, whereas the administrator would think that Confluence, will only run in one thread, in fact it will only run on one thread during the migration.

      Steps to replicate
      Install Confluence 4.0 and above running on SQL Server (Tested with Confluence 4.2.5 and 4.3.2)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rjmasikome RianA
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: