Misleading information on the log upon startup when using SQL Server

XMLWordPrintable

    • Type: Bug
    • Resolution: Timed out
    • Priority: Low
    • None
    • Affects Version/s: 4.2.5, 4.3.2
    • Component/s: None
    • 1
    • Severity 3 - Minor

      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)

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

              Created:
              Updated:
              Resolved: