IBM Support

Cleaning temporary Java workarea in Cognos Analytics

How To


Summary

Cleaning temporary Java workarea in Cognos Analytics for a Dispatcher and Query Service.

Objective

Cleaning the temporary Java workarea in Cognos Analytics for Dispatcher and Query service can be helpful in resolving issues where java cache becomes corrupt or of out of date.
In some scenarios java cache issues can manifest themselves as crashing Query Service (without heap dump) and other unexpected behavior.
Cleaning temporary cache allows application server to rebuild the cache from scratch resetting it to healthy state.

Steps

Steps:

  1. Stop Dispatcher.  This will also stop the QueryService).
  2. On each Cognos Analytics dispatcher delete all files and folders in the workarea and javasharedresources folders in these locations.
    NOTE: Do not delete the workarea and javasharedresources folders.
    • <cognos_analytics>/wlp/usr/servers/dataset-service/workarea/
    • <cognos_analytics>/wlp/usr/servers/cognosserver/workarea/
    • <cognos_analytics>/javasharedresources/
  3. Start Dispatcher. The QueryService will start automatically.
In multi-server environment repeat the steps on each dispatcher.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m50000000Cl6sAAC","label":"Install-\u003EConfigure"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"All Versions"}]

Document Information

Modified date:
04 July 2024

UID

ibm10884418