Getting Java Crash Log File

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

If you discovered that Confluence died without manual intervention, there may be something goes wrong during a local Java session. Java will produce a log file that looks like the following: hs_err_pid20929.log.

The location of this log file is usually in the directory where Tomcat is run eg. /bin folder. For Windows Services, it should be located in where Windows Services are run, eg. c:\Windows\System32 if you are on 32 bit.

Useful VM Option

If using Java 6 or above, it's possible to define the path to the hs_err_pid file.

Add the following JVM Parameter to your existing ones:

-XX:ErrorFile=./hs_err_pid<pid>.log
RELEVANT TOPICS

Generating a Heap Dump
Java Crashes

Last modified on Dec 2, 2015

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.