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

Upgrade to 8.0.4 or 8.1.0 causing get ThreadLocalCache is not initialised warnings in the atlassian-confluence.log

    XMLWordPrintable

Details

    Description

      Issue Summary

      This is reproducible on Data Center: yes

      The application logs is flooded with "get ThreadLocalCache is not initialised" warnings after upgrade to Confluence 8.0.4 for every operation on the application UI.

      Steps to Reproduce

      1. Upgrade to Confluence 8.0.4 or start new instance of Confluence 8.0.4
      2. Navigate through different functionality on the UI.

      Expected Results

      The WARN messages should not appear continuously in the application logs.

      Actual Results

      The below WARN message is shown in the atlassian-confluence.log file:

      2023-02-14 14:50:24,560 WARN [http-nio-8090-exec-1] [atlassian.confluence.cache.ThreadLocalCache] get ThreadLocalCache is not initialised. Could not retrieve value for key GLOBAL_SETTINGS -- url: /confluence/status | traceId: 74ec3c52d5bd5679  

      This is filling up the application logs continuously.

      Workaround

      • To avoid restarting Confluence and to pick up the change, Go to    > General Configuration > Logging and Profiling.
      • Add New Entry
        Class/Package Name com.atlassian.confluence.cache.ThreadLocalCache
        New Level ERROR
      • You can also choose to add this to your <confluence_install>/confluence/WEB-INF/classes/log4j.properies file that will be picked during startup :
        log4j.logger.com.atlassian.confluence.cache.ThreadLocalCache=ERROR
        

      Attachments

        Issue Links

          Activity

            People

              854eef6f5746 Kusal Kithul-Godage
              188bae873138 Saurabh
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: