Confluence may experience performance degradation and cannot read resource errors using MathJax plugin

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Confluence performance degrades and several Cannot read resource mathjax... messages appear in the log

Environment

  • Confluence 7.4.4

  • Mathjax 2.2.3

Diagnosis

We can spot the following messages inside the Atlassian-Confluence.log files:

1 2 3 4 5 6 ERROR [http-nio-8090-exec-17] [[Standalone].[localhost].[/].[file-server]] log Servlet.service() for servlet [file-server] threw exception -- referer: https://confluence_base_URL/display/...... | url: /s/d41d8cd98f00b204e9800998ecf8427e-CDN/-q4o2e2/8401/008d09724398b50e93468e30a239d4f6d750af9b/1.1/_/download/resources/com.cityinthesky.plugins.mathjax:resources/extensions/TeX/color.js | traceId: 375e6b5d09920f11 | userName: XXXXXXXXX java.lang.RuntimeException: Cannot read resource mathjax/extensions/TeX/color.js at com.atlassian.plugin.webresource.impl.snapshot.Resource$1.writeTo(Resource.java:204) at com.atlassian.plugin.webresource.transformer.CompileTimeTransformer$1.writeTo(CompileTimeTransformer.java:59) at com.atlassian.plugin.webresource.impl.helpers.ResourceServingHelpers$8.writeTo(ResourceServingHelpers.java:465)

Cause

Mathjax plugin is enabled. The root cause analysis is performed by the plugin vendor.

Solution

  1. Disable the Mathjax plugin in Confluence administration → Manage apps

  2. Get in touch with the plugin vendor to analyze this behavior with the plugin

Updated on March 18, 2025

Still need help?

The Atlassian Community is here for you.