To collect a thread dump for a Controller App Server process, use the Glassfish "asadmin" tool.
- In the computer terminal, use the command generate-jvm-report to generate a threadump.txt file.
- Create a series of thread dumps at regular intervals.
- Additionally, the
generate-jvm-report
command can generate other types of reports including memory or summary. For more information, view Glassfish documentation.