We couldn't load all Actvitity tabs. Refresh the page to try again.
If the problem persists, contact your Jira admin.
IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-90519

Cache Statistics Dashboard doesn't work with Java 17 but works with Java 11 on Windows

      Issue Summary

      Accessing the Cache statistics page on Confluence installed on Windows Operating System and with Java version 17 results in 'Fetch of cache statistics failed' error message.

      When the below curl command is used to refresh the cache statistics, the page works for a few minutes and results in the same error message.

        curl -u <adminUsername>:<adminPassword> -X DELETE "<base_url}/rest/cacheManagement/1.0/cacheEntries" 

       

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Install Confluence v8.3.1 on Windows Server 2019.
      2. Download and install Java version 17 on Windows.
      3. Configure Confluence to use Java version 17.
      4. Navigate to General Configuration -> Cache Management

      Expected Results

      The Cache Management page displays the cache statistics.

       

      Actual Results

      We get to see the 'Fetch of cache statistics failed' error message.

      Workaround

      • No proper workaround is available at the moment. Below command helps to view the page for a very short period.
         curl -u <adminUsername>:<adminPassword> -X DELETE "<base_url>/rest/cacheManagement/1.0/cacheEntries" 

        PowerShell

        cURL.exe --request DELETE --url '<base_url>/rest/cacheManagement/1.0/cacheEntries' --user <adminUsername>:<adminPassword>
      • Alternate workaround is to use Java11.

      Edit: a workaround is to add `--add-opens java.base/java.util.concurrent=ALL-UNNAMED` to the jpms.txt file, and restart Confluence.

            Loading...
            IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
            Uploaded image for project: 'Confluence Data Center'
            1. Confluence Data Center
            2. CONFSERVER-90519

            Cache Statistics Dashboard doesn't work with Java 17 but works with Java 11 on Windows

                Issue Summary

                Accessing the Cache statistics page on Confluence installed on Windows Operating System and with Java version 17 results in 'Fetch of cache statistics failed' error message.

                When the below curl command is used to refresh the cache statistics, the page works for a few minutes and results in the same error message.

                  curl -u <adminUsername>:<adminPassword> -X DELETE "<base_url}/rest/cacheManagement/1.0/cacheEntries" 

                 

                This is reproducible on Data Center: yes

                Steps to Reproduce

                1. Install Confluence v8.3.1 on Windows Server 2019.
                2. Download and install Java version 17 on Windows.
                3. Configure Confluence to use Java version 17.
                4. Navigate to General Configuration -> Cache Management

                Expected Results

                The Cache Management page displays the cache statistics.

                 

                Actual Results

                We get to see the 'Fetch of cache statistics failed' error message.

                Workaround

                • No proper workaround is available at the moment. Below command helps to view the page for a very short period.
                   curl -u <adminUsername>:<adminPassword> -X DELETE "<base_url>/rest/cacheManagement/1.0/cacheEntries" 

                  PowerShell

                  cURL.exe --request DELETE --url '<base_url>/rest/cacheManagement/1.0/cacheEntries' --user <adminUsername>:<adminPassword>
                • Alternate workaround is to use Java11.

                Edit: a workaround is to add `--add-opens java.base/java.util.concurrent=ALL-UNNAMED` to the jpms.txt file, and restart Confluence.

                        8b5c2ab424ac Jing Zheng
                        91d55d8c0ba7 Sunil Kumar C
                        Votes:
                        34 Vote for this issue
                        Watchers:
                        58 Start watching this issue

                          Created:
                          Updated:
                          Resolved:

                            8b5c2ab424ac Jing Zheng
                            91d55d8c0ba7 Sunil Kumar C
                            Affected customers:
                            34 This affects my team
                            Watchers:
                            58 Start watching this issue

                              Created:
                              Updated:
                              Resolved: