title: SpringBoot app stops after a hour.
body: <p>I have a Spring Boot app (1.2.6) running on Oracle Linux with Tomcat embedded.  Using java 1.7.0_45.  It will run fine for 20 minutes to 2 hours.  Then something either kills it or it self-destructs.  I have a poor man's monitor to tell when it dies.  Nothing useful appears in the application logback log file, other than a failure to release jdbc resources.  Can I do anything to get Spring or Tomcat to tell me why it is stopping?  Could a shutdown hook tell me why the java process is being terminated?  I'm not using Spring Boot Actuator yet.  What tools on linux could log a history of activity for a specific pid? </p>