How to obtain a thread dump from TIBCO Data Virtualization (TDV) Studio client?

How to obtain a thread dump from TIBCO Data Virtualization (TDV) Studio client?

book

Article ID: KB0077163

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization All supported versions

Description

Scenario:
A malfunctioning Studio client may warrant a thread dump of the Studio (not the TDV server instance) to aid in troubleshooting.

Issue/Introduction

This articles provides information on capturing a thread dump needed to troubleshoot Studio malfunctions.

Resolution

* Temporarily edit the \bin\studio.bat file and look for this line:
  set JAVA_APP="%JAVA_HOME%\bin\javaw"

* Remove the 'w' from 'javaw' and save the .bat file

* Double-click or execute studio.bat to open a new Studio session.  This process displays an accompanying java console alongside the Studio.

* When you are ready to obtain a thread dump for the Studio, apply a ctrl-<break> in the console.

* This should display a thread dump roll past the console.  Scroll upwards in the console and look for the beginning of the dump that should start with the current date/time and this line:
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.192-b12 mixed mode):

Note: If the dump is too large for the console's buffer, you may need to enlarge the screen buffer in the console window's properties and repeat your scenario.
Note: When done, restore the 'w' to this line:   set JAVA_APP="%JAVA_HOME%\bin\java" and save the studio.bat file again.