Creating application server dumps

See the related WebSphere Application Server Liberty Base documentation at How to generate javacores/thread dumps, heapdumps and system cores for the WebSphere Application Server Liberty profile.

The following is an example of how to create the heap dump for both the Dynamic Workload Console and the master domain manager:
  1. Set the environment by running the setEnv.sh script located in the path:
    Dynamic Workload Console
    On Windows™ operating systems:
    DWC_INST_DIR\DWC\appservertools\setEnv.bat
    On UNIX™ operating systems:
    DWC_DATA_dir/DWC/appservertools/setEnv.sh
    master domain manager
    On Windows operating systems:
    TWA_home\server_<wauser>\appservertools\setEnv.bat
    On UNIX operating systems:
    TWA_DATA_DIR/server_<wauser>/appservertools/setEnv.sh
  2. Submit the following command to create the heap dump:
    Dynamic Workload Console and master domain manager
    On Windows operating systems:
    WLP_INST_DIR\bin\server javadump <dwc_Server_Name> --include=heap
    On UNIX operating systems:
    WLP_INST_DIR//bin/server javadump <dwc_Server_Name> --include=heap
You can locate the dump file in the following path:
Dynamic Workload Console
On Windows operating systems:
DWC_INST_DIR\stdlist\appserver\dwcServer
On UNIX operating systems:
DWC_DATA_dir/stdlist/appserver/dwcServer
master domain manager
On Windows operating systems:
TWA_home\stdlist\appserver\engineServer
On UNIX operating systems:
TWA_DATA_DIR/stdlist/appserver/engineServer