How to monitor pruner thread for action log.

How to monitor pruner thread for action log.

book

Article ID: KB0082213

calendar_today

Updated On:

Products Versions
Spotfire Server All Versions

Description

Description:
How to check if a pruner thread for action logging is running. Generally TIBCO Spotfire Server does not log/have any events on a pruner thread for action logging. You may be unable to know its status (running/not running).

Issue/Introduction

How to monitor pruner thread for action log.

Resolution

Set up JMX monitoring using JConsole on TIBCO Spotfire Server as per the following procedure:

- Run the config-jmx command: config config-jmx --enabled=true
- Import the configuration: config import-config --comment=”Enabling JMX” configuration.xml
- Provide the configuration tool password.
- Create a JMX user: config create-jmx-user --username=MyJMXUser
- Provide the MyJMXUser password.
- Provide the configuration tool password to write the user and password to database.
- Restart TIBCO Spotfire Server.
- Launch the JConsole application located in  "\\Spotfire_Server_Install_dir\x.x.x\jdk\bin\jconsole.exe".

Note: JDK Tools such as JConsole, JVisulavm and jstat are not available in Spotfire server 7.0 and later. So to use JConsole in Spotfire server 7.0 and later, refer KB article :   https://support.tibco.com/s/article/Tibco-KnowledgeArticle-Article-44379

- In the JConsole New Connection dialog, select Remote Process. Enter the <hostname>:1099, and provide the JMX user name and password.
- To view the running action log pruner thread, see the Threads tab in JMX console as shown in the attached (Filename: Pruner_Thread_screenshot.JPG) screenshot.

Additional Information

Refer to Spotfire server manual link for config-jmx command:

https://docs.tibco.com/pub/spotfire_server/7.11.0/doc/html/TIB_sfire_server_tsas_admin_help/GUID-267D8C9D-24E5-4E64-BD62-259A49BE2476.html

Attachments

How to monitor pruner thread for action log. get_app