Pages Occassionally throws Invalid LOC Header (Bad Signature)
Symptoms
When browsing JIRA, occassionally pages fail with invalid LOC header (bad signature):
com.caucho.java.JavaCompileException: error: error reading /opt/j2ee/domains/atlassian.com/jira/resin/lib/jsdk-24.jar; invalid LOC header (bad signature)
1 error
at com.caucho.java.InternalCompiler.executeInt(InternalCompiler.java)
at com.caucho.java.InternalCompiler.compileInt(InternalCompiler.java:81)
at com.caucho.java.AbstractJavaCompiler.run(AbstractJavaCompiler.java:101)
at java.lang.Thread.run(Thread.java:619)
Cause
The jar in question is perfectly valid. Upon further investigation, we found that JIRA had run out of memory. OutOfMemoryErrors can cause chaos in a JVM as threads are interrupted.
Resolution
Restarting the webapp will fix the problem. For further help on evaluating cause of the memory error please review Jira server crashes with OutofMemory Java heap space error.
Last modified on Feb 26, 2016
Powered by Confluence and Scroll Viewport.