title: Segmentation Fault in Java
body: <p>Recently my Java application has started to hang.  It has been running fine for over a year.  After the program runs for a few hours or overnight, I come in the next day and the application is basically frozen.  Rebooting the server makes it work again, but after some time goes by... the problem comes back.</p>
  
  <p>When looking at "top" from the command line I find that Java is at 100% CPU usage!  I read about this in other threads and forums and was able to use the JSTACK function to find the problem:</p>
  
  <p>A fatal error has been detected by the Java Runtime Environment:</p>
  
  <p>SIGSEGV (0xb) at pc=0xf72e8791, pid=2197, tid=2979408784</p>
  
  <p>JRE version: 6.0_39-b04
  Java VM: Java HotSpot (TM) Server VM (20.14-b01 mixed mode linux-x86 )
  Problematic frame:
  C      [libsaproc.so+0x1791]  long double restric_0x1d</p>
  
  <hr>
  
  <p>Here is the major problem... I am not a Java coder.  I maintain and support the overall system, but this is just one part.  The vendor of the product has laid off the software guy that wrote all this, so they have not been a very big help at all.  I really want to get this fixed so I don't have to reboot my server every single morning when I arrive to work.</p>
  
  <p>I am a fairly competent, but novice programmer (learning ASP.NET). So I think that I may be able to handle this issue on my own, I just don't really know WHERE to begin.  I understand that it is likely a problem in the code, but it seems odd to me that it is happening all of the sudden and never in the past.</p>
  
  <p>There is a lot more information in the hs_err_pidxxxxx.log file, will that help me track down the EXACT line of code in error?  Sadly, I don't even know where the code is stored in the folder hierarchy.  </p>
  
  <p>What more information can I supply to "help you help me"?</p>
  
  <p>Edit 1:  (Adding all of the jstack info - OS info is included in the system section) (removed to make room for edit 2)</p>
  
  <p>System is CentOS 5.8</p>
  
  <p>Edit 2 - (adding Cataline Out file from Tomcat)</p>
  
  <pre><code>Jul 3, 2015 9:49:47 AM org.apache.catalina.core.AprLifecycleListener init
  INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1$
  Jul 3, 2015 9:49:48 AM org.apache.coyote.http11.Http11Protocol init
  INFO: Initializing Coyote HTTP/1.1 on http-8080
  Jul 3, 2015 9:49:48 AM org.apache.catalina.startup.Catalina load
  INFO: Initialization processed in 1270 ms
  Jul 3, 2015 9:49:48 AM org.apache.catalina.core.StandardService start
  INFO: Starting service Catalina
  Jul 3, 2015 9:49:48 AM org.apache.catalina.core.StandardEngine start
  INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
  Jul 3, 2015 9:49:48 AM org.apache.catalina.startup.HostConfig deployDescriptor
  INFO: Deploying configuration descriptor manager.xml
  Jul 3, 2015 9:49:48 AM org.apache.catalina.session.StandardManager doLoad
  SEVERE: IOException while loading persisted sessions: java.io.EOFException
  java.io.EOFException
          at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2297)
          at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2766)
          at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:797)
          at java.io.ObjectInputStream.&lt;init&gt;(ObjectInputStream.java:297)
          at org.apache.catalina.util.CustomObjectInputStream.&lt;init&gt;(CustomObjectInputStream.java:58)
          at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)
          at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
          at org.apache.catalina.session.StandardManager.start(StandardManager.java:648)
          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4714)
          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
          at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
          at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
          at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
          at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
          at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
          at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
          at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
          at org.apache.catalina.core.StandardService.start(StandardService.java:525)
          at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
          at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:616)
          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
  Jul 3, 2015 9:49:48 AM org.apache.catalina.session.StandardManager start
  SEVERE: Exception loading sessions from persistent storage
  java.io.EOFException
          at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2297)
          at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2766)
          at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:797)
          at java.io.ObjectInputStream.&lt;init&gt;(ObjectInputStream.java:297)
          at org.apache.catalina.util.CustomObjectInputStream.&lt;init&gt;(CustomObjectInputStream.java:58)
          at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)
          at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
          at org.apache.catalina.session.StandardManager.start(StandardManager.java:648)
          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4714)
          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
          at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
          at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
          at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
          at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
          at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
          at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
          at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
          at org.apache.catalina.core.StandardService.start(StandardService.java:525)
          at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
          at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:616)
          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
  Jul 3, 2015 9:49:49 AM org.apache.catalina.startup.HostConfig deployDescriptor
  INFO: Deploying configuration descriptor host-manager.xml
  Jul 3, 2015 9:49:49 AM org.apache.catalina.session.StandardManager doLoad
  SEVERE: IOException while loading persisted sessions: java.io.EOFException
  java.io.EOFException
          at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2297)
          at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2766)
          at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:797)
          at java.io.ObjectInputStream.&lt;init&gt;(ObjectInputStream.java:297)
          at org.apache.catalina.util.CustomObjectInputStream.&lt;init&gt;(CustomObjectInputStream.java:58)
          at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)
          at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
          at org.apache.catalina.session.StandardManager.start(StandardManager.java:648)
          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4714)
          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
          at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
          at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
          at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
          at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
          at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
          at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
          at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
          at org.apache.catalina.core.StandardService.start(StandardService.java:525)
          at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
          at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:616)
          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
  Jul 3, 2015 9:49:49 AM org.apache.catalina.session.StandardManager start
  SEVERE: Exception loading sessions from persistent storage
  java.io.EOFException
          at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2297)
          at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2766)
          at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:797)
          at java.io.ObjectInputStream.&lt;init&gt;(ObjectInputStream.java:297)
          at org.apache.catalina.util.CustomObjectInputStream.&lt;init&gt;(CustomObjectInputStream.java:58)
          at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)
          at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
          at org.apache.catalina.session.StandardManager.start(StandardManager.java:648)
          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4714)
          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
          at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
          at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
          at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
          at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
          at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
          at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
          at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
          at org.apache.catalina.core.StandardService.start(StandardService.java:525)
          at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
          at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:616)
          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
  Jul 3, 2015 9:49:49 AM org.apache.catalina.startup.HostConfig deployDirectory
  INFO: Deploying web application directory nms
  Jul 3, 2015 9:49:59 AM org.apache.catalina.session.StandardManager doLoad
  SEVERE: IOException while loading persisted sessions: java.io.EOFException
  java.io.EOFException
          at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2297)
          at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2766)
          at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:797)
          at java.io.ObjectInputStream.&lt;init&gt;(ObjectInputStream.java:297)
          at org.apache.catalina.util.CustomObjectInputStream.&lt;init&gt;(CustomObjectInputStream.java:58)
          at org.apache.catalina.session.StandardManager.doLoad(StandardManager.va:36275)
          at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
          at org.apache.catalina.session.StandardManager.start(StandardManager.java:648)
          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4714)
          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
          at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
          at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
          at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
          at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
          at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
          at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
          at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
          at org.apache.catalina.core.StandardService.start(StandardService.java:525)
          at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
          at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:616)
          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
  Jul 3, 2015 9:49:59 AM org.apache.catalina.session.StandardManager start
  SEVERE: Exception loading sessions from persistent storage
  java.io.EOFException
          at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2297)
          at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2766)
          at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:797)
          at java.io.ObjectInputStream.&lt;init&gt;(ObjectInputStream.java:297)
          at org.apache.catalina.util.CustomObjectInputStream.&lt;init&gt;(CustomObjectInputStream.java:58)
          at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)
          at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
          at org.apache.catalina.session.StandardManager.start(StandardManager.a:648)
          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4714)
          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
          at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
          at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
          at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
          at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
          at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
          at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
          at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
          at org.apache.catalina.core.StandardService.start(StandardService.java:525)
          at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
          at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:616)
          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
  Jul 3, 2015 9:49:59 AM com.vaadin.terminal.gwt.server.AbstractApplicationServlet checkProductionMode
  WARNING:
  =================================================================
  Vaadin is running in DEBUG MODE.
  Add productionMode=true to web.xml to disable debug features.
  To show debug window, add ?debug to your application URL.
  =================================================================
  Jul 3, 2015 9:50:34 AM org.apache.catalina.startup.HostConfig deployDirectory
  INFO: Deploying web application directory ROOT
  Jul 3, 2015 9:50:34 AM org.apache.catalina.session.StandardManager doLoad
  SEVERE: IOException while loading persisted sessions: java.io.EOFException
  java.io.EOFException
          at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2297)
          at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2766)
          at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:797)
          at java.io.ObjectInputStream.&lt;init&gt;(ObjectInputStream.java:297)
          at org.apache.catalina.util.CustomObjectInputStream.&lt;init&gt;(CustomObjectInputStream.java:58)
          at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)
          at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
          at org.apache.catalina.session.StandardManager.start(StandardManager.java:648)
          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4714)
          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
          at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
          at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
          at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
          at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
          at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
          at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
          at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
          at org.apache.catalina.core.StandardService.start(StandardService.java:525)
          at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
          at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:616)
          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
  Jul 3, 2015 9:50:34 AM org.apache.catalina.session.StandardManager start
  SEVERE: Exception loading sessions from persistent storage
  java.io.EOFException
          at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2297)
          at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2766)
          at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:797)
          at java.io.ObjectInputStream.&lt;init&gt;(ObjectInputStream.java:297)
          at org.apache.catalina.util.CustomObjectInputStream.&lt;init&gt;(CustomObjectInputStream.java:58)
          at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:362)
          at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
          at org.apache.catalina.session.StandardManager.start(StandardManager.java:648)
          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4714)
          at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
          at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
          at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
          at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
          at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
          at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
          at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
          at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
          at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
          at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
          at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
          at org.apache.catalina.core.StandardService.start(StandardService.java:525)
          at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
          at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:616)
          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
  Jul 3, 2015 9:50:34 AM org.apache.coyote.http11.Http11Protocol start
  INFO: Starting Coyote HTTP/1.1 on http-8080
  Jul 3, 2015 9:50:34 AM org.apache.jk.common.ChannelSocket init
  INFO: JK: ajp13 listening on /0.0.0.0:8009
  Jul 3, 2015 9:4 AM org.apache.jk.server.JkMain start
  INFO: Jk running ID=0 time=0/111  config=null
  Jul 3, 2015 9:50:34 AM org.apache.catalina.startup.Catalina start
  INFO: Server startup in 45960 ms
  Jul 3, 2015 7:46:00 PM org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processChildren
  SEVERE: Exception invoking periodic operation:
  java.lang.OutOfMemoryError: Java heap space
  </code></pre>
  
  <p>Edit 3 - JSTAT info
  This is the JSTAT information from the process.  It is not currently hanging, so whenever it hangs again I will get another JSTAT.</p>
  
  <pre><code>[root@localhost bin]# ./jstat -gc 3678
   S0C    S1C    S0U    S1U      EC       EU        OC         OU       PC     PU    YGC     YGCT    FGC    FGCT     GCT
  7488.0 7360.0 6288.1  0.0   334656.0  3737.8  1594816.0  1401457.2  99968.0 61991.7   1068   21.244   7      5.625   26.869
  </code></pre>