Details
-
Bug
-
Resolution: Not a bug
-
High
-
None
-
8.12.1, 8.12.2, 8.13.0, 8.12.3, 8.13.1, 8.13.9, 8.13.10, 8.20.0, 8.20.8
-
None
-
8.12
-
17
-
Severity 3 - Minor
-
127
-
Description
Issue Summary
Similar to JRASERVER-71310, but this is coming from another package – com.atlassian.jira.cache.request.RequestCacheRecorderImpl.
Steps to Reproduce
- Install Jira. Issue observed in Jira 8.13.9, 8.13.10 and 8.20.0 so far.
- Below warnings are thrown in the atlassian-jira.log file:
2021-10-28 10:35:09,226+1100 localhost-startStop-2 WARN [c.a.j.cache.request.RequestCacheRecorderImpl] Invalid use of RequestCache by thread: <thread_name>.Incorrect usage of JIRA API. You can only create/use: RequestCacheImpl inside a context (request or Jira-Thread-Local). Check: JiraThreadLocalUtil for details. This message will be logged once per thread.
Workaround
Setting the log level of the com.atlassian.jira.cache.request.RequestCacheRecorderImpl package to ERROR per the documentation Logging and profiling
This configuration will filter out relevant warnings as well.
Temporarily set the package to ERROR (this won't persist after a Jira restart)
- In Jira, go to ⚙ > System > Logging and profiling page
- Scroll down to Default Loggers > Configure logging level for another package, and add com.atlassian.jira.cache.request.RequestCacheRecorderImpl package with the ERROR level
Permanent way to set the package to ERROR (this setting will remain after a Jira restart)
- Edit the file <JIRA_INSTALLATION>/atlassian-jira/WEB-INF/classes/log4j.properties
- Add the 2 following lines at the end of the file and save it:
log4j.logger.com.atlassian.jira.cache.request.RequestCacheRecorderImpl = ERROR, filelog log4j.additivity.com.atlassian.jira.cache.request.RequestCacheRecorderImpl = false
Attachments
Issue Links
- relates to
-
JRASERVER-74311 Invalid use of RequestCache by thread: com.atlassian.diagnostics.internal.platform.poller
- Closed
- was split into
-
JRASERVER-73838 Invalid use of RequestCache by thread: JMXInstrumentsLoggingService (AbstractPerformanceDataLoggingService)
- Closed
-
JRASERVER-73839 Invalid use of RequestCache by thread: PlatformInstrumentsLoggingService (AbstractPerformanceDataLoggingService)
- Closed
-
JRASERVER-73848 Invalid use of RequestCache by thread: pool-<N>-thread (ScheduledPollerService)
- Closed
-
JRASERVER-73843 Invalid use of RequestCache by thread: WaitForAO (DvcsScheduler)
- Closed
-
JRASERVER-73834 Invalid use of RequestCache by thread: DbLatencyLoggingService (AbstractPerformanceDataLoggingService)
- Closed
-
JRASERVER-73835 Invalid use of RequestCache by thread: ForkJoinPool.commonPool-worker -> JiraWarmer(s)
- Closed
-
JRASERVER-73846 Invalid use of RequestCache by thread: default-application-role-manager-cache-refresh (DefaultApplicationRoleManager)
- Closed
-
JRASERVER-73842 Invalid use of RequestCache by thread: ThreadPoolAsyncTaskExecutor::Thread (JiraPluginJavaConfig)
- Gathering Impact
-
JRASERVER-73836 Invalid use of RequestCache by thread: HealthCheck:thread (PluginSuppliedSupportHealthCheck)
- Gathering Impact
-
JRASERVER-73837 Invalid use of RequestCache by thread: IssueIndexer:thread (MultiThreadedIndexingStrategy)
- Gathering Impact
-
JRASERVER-73840 Invalid use of RequestCache by thread: StreamsCompletionService::thread (ActivityProviderWithAnalytics)
- Gathering Impact
-
JRASERVER-73841 Invalid use of RequestCache by thread: Thread (JqlRecentFieldsDataProvider)
- Gathering Impact
-
JRASERVER-73844 Invalid use of RequestCache by thread: analyticsEventProcessor:thread (ProductEventListener)
- Gathering Impact
-
JRASERVER-73845 Invalid use of RequestCache by thread: com.atlassian.mywork.client.reliability.DefaultUnreliableWorker:thread (DefaultUnreliableWorker)
- Gathering Impact
-
JRASERVER-73847 Invalid use of RequestCache by thread: localhost-startStop (LauncherContextListener)
- Gathering Impact
-
JRASERVER-73849 Invalid use of RequestCache by thread: support (CreateSupportZipTask)
- Gathering Impact
-
JRASERVER-73851 Invalid use of RequestCache by thread: http-nio-8080-exec (?)
- Gathering Impact
-
JRASERVER-73852 Invalid use of RequestCache by thread: hercules (LogScanReportTask)
- Gathering Impact
-
JRASERVER-73889 Invalid use of RequestCache by thread: UpmScheduler (JiraApplicationAccess)
- Gathering Impact
-
JRASERVER-74254 Invalid use of RequestCache by thread: devstatus.dvcs.gitlab:thread (DvcsDataProvider)
- Gathering Impact
-
JRASERVER-74255 Invalid use of RequestCache by thread: DVCSConnector.MessageExecutor:thread (dvcs.service.MessageExecutor)
- Gathering Impact
-
JRASERVER-75479 Invalid use of RequestCache by thread: ThreadPoolAsyncTaskExecutor::Thread (DependencyWaiterApplicationContextExecutor)
- Gathering Impact
-
JSWSERVER-25898 Invalid use of RequestCache by thread: DVCSConnector.EventService:thread (dvcs.event.EventServiceImpl)
- Gathering Impact
- mentioned in
-
Page Loading...