We earn commission when you buy through affiliate links.

This does not influence our reviews or recommendations.Learn more.

This is possible either usingWAS Admin ConsoleorCommand line.

was-troubleshooting

Based on your preference, you’re able to choose the method.

Using WebSphere Administrative Console

Dump & Core will be generated under WebSphere profile location.

You will get the absolute path under the message.

was-select-dump

Using Command Line

Note:server1is for example.

Change this to your actual JVM name.

This will generate heap dump and give you the path where its available.

was-heap-dump-location

This will generatethread dumpand will be available under profile path.

You see getting dumps are easy and analyzing them is always interesting.

Check out my next article on how to analyze them for software troubleshooting.