By oleksiys on Mar 19, 2010
From time to time I see the messages on glassfish mailing list, reporting that Glassfish hangs at some point. I'd like to provide some simple instructions, which will help Glassfish team to find the problem and help you asap.
- Don't panic. In most cases the "hang" is caused by custom (web) application.
- When you found that Glassfish is not responsive - pls. take a snapshot of threads dump:
- Find the pid of the Glassfish process. Glassfish 2.x: jps | grep PELaunch, or Glassfish 3.x: jps | grep ASMain
- Force threads dump to be written to the jvm.log file: kill -3 <pid>