Steps to get a thread-dump from StreamBase Server:
- 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 - If the server to monitor is remote, double-click on "Remote" and enter the server IP address.
- In jvisualvm you will see the sbd-java JVM appear in the list, double-click it to start monitoring.
- Go to the Threads tab and click "Thread Dump"
- 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.