How to collect a Java Heap dump for a MFT-CC/IS process running as Windows service

How to collect a Java Heap dump for a MFT-CC/IS process running as Windows service

book

Article ID: KB0078885

calendar_today

Updated On:

Products Versions
TIBCO Managed File Transfer Internet Server All

Description

If MFT-CC/IS running as windows service, jvisualvm is unable to access the java pid of the MFT-CC/IS process.

Instructions to take a heap dump when MFT CC/IS runs as a service:
-----------------------------------------------------------------

1) start the DOS cmd shell as administrator

2) cd <JAVA_HOME>/bin

3) execute command:
jmap -dump:file=file_name <pid>

Sample command : jmap -dump:file=C:/temp/mft-is-pid-10508.dump 10508
Where 10508 is the MFTIS or MFT-CC - PID (process id)

The dump will be written to: 
C:/temp/mft-is-pid-10508.dump

Issue/Introduction

How to collect a Java Heap dump for a MFT-CC/IS process running as Windows service

Environment

All supported Windows environments