How do I get a thread-dump from StreamBase Server

How do I get a thread-dump from StreamBase Server

book

Article ID: KB0076100

calendar_today

Updated On:

Products Versions
TIBCO Streaming 7

Description

How do I get a thread-dump from StreamBase Server

Issue/Introduction

How do I get a thread-dump from StreamBase Server

Resolution

Steps to get a thread-dump from StreamBase Server:
  1. Windows: Run from the StreamBase Command Prompt: jdk64\bin\jvisualvm
    Linux: From a terminal window, cd to the StreamBase install directory and run: jdk/bin/jvisualvm
  2. If the server to monitor is remote, double-click on "Remote" and enter the server IP address.
  3. In jvisualvm you will see the sbd-java JVM appear in the list, double-click it to start monitoring.
  4. Go to the Threads tab and click "Thread Dump"
  5. Right-click the new "[threaddump]" entry and choose Save As..., choose a disk location and click "Save".

In the case of an application hang, please repeat steps 4. and 5. three times separated by a 10-second wait. Support will want to compare them to confirm where the application is blocked.

Note that in some cases you will have both a 32-bit Java and a 64-bit Java installed at the same time within the StreamBase Server installation. You will not see the Threads tab if you run jvisualvm as a 32-bit process connecting to a 64-bit JVM or if you run jvisualvm as a 64-bit process connecting to a 32-bit JVM. Try the other one.