5.4 Windows

Recommended Data Collection for Crashes and Hangs in Java (Windows)

VM crashes

  • collect Hotspot Error Logfile. It is written to the current working directory. It's name is e.g. hs_err_pid<pid>.log (where <pid> is the process id of process).
  • To decode the hs_err log, please use http://blogs.sun.com/dave/resource/hs_err6.pl or use the web interface - http://openjdk.neojava.org/cgi-bin/hs_err.
    ( Please note: We cannot guarantee the availability or the support of these tools as they are not Sun products )
  • Get the windows logfile (Dr. Watson log or ADplus log) and a dump file (Dr. Watson user.dmp or an ADplus dump).
  • Always use full crash dump type for Dr. Watson. See the following sample screenshot:

For details about Dr. Watson, please refer to Description of the Dr. Watson for Windows (Drwtsn32.exe) Tool - http://support.microsoft.com/kb/308538

Please also refer to our troubleshooting document 216912 on sunsolve for details - http://sunsolve.sun.com/search/document.do?assetkey=1-37-216912

In particular if you run the JVM as a "service", which is similar to a daemon, then ADplus is the only way. Choose these options:

adplus -crash -o <outputdir> -p <pid> -quiet -NoDumpOnFirst

Note: The option -NoDumpOnFirst is documented (run adplus -?). If the option is omitted, ADplus will create a minidump every minute, which will quickly fill up diskspace.

Labels

kjava kjava Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact