title: Spring boot REST service stops after some time
body: <p>After triggering the spring boot REST service, the service runs OK for hours with all requests working without any issues. What happens is that randomly after some time, it stops. When looking into the logs I find no errors, except information that the application has been destroyed. </p>
  
  <p>Logs after some time</p>
  
  <pre><code>2016-03-09 17:07:33.488  INFO 28359 --- [Thread-12] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@5df2d54c: startup date [Wed Mar 09 10:45:18 UTC 2016]; root of context hierarchy
  2016-03-09 17:07:33.490  INFO 28359 --- [Thread-12] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans on shutdown
  2016-03-09 17:07:33.495  INFO 28359 --- [Thread-12] o.eclipse.jetty.server.ServerConnector   : Stopped ServerConnector@585ebc93{SSL-HTTP/1.1}{0.0.0.0:8443}
  2016-03-09 17:07:33.496  INFO 28359 --- [Thread-12] application                              : Destroying Spring FrameworkServlet 'dispatcherServlet'
  2016-03-09 17:07:33.496  INFO 28359 --- [Thread-12] o.e.jetty.server.handler.ContextHandler  : Stopped o.s.b.c.e.j.JettyEmbeddedWebAppContext@3d3969ea{/,file:/tmp/jetty-docbase.5267015092605924805.8443/,UNAVAILABLE}
  </code></pre>
  
  <p>Maven dependencies
          </p>
  
  <pre><code>        &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-tomcat&lt;/artifactId&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.json&lt;/groupId&gt;
              &lt;artifactId&gt;json&lt;/artifactId&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.hive&lt;/groupId&gt;
              &lt;artifactId&gt;hive-jdbc&lt;/artifactId&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.eclipse.jetty.orbit&lt;/groupId&gt;
                      &lt;artifactId&gt;javax.servlet&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.eclipse.jetty.aggregate&lt;/groupId&gt;
                      &lt;artifactId&gt;jetty-all&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
                      &lt;artifactId&gt;guava&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.drill.exec&lt;/groupId&gt;
              &lt;artifactId&gt;drill-jdbc&lt;/artifactId&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;artifactId&gt;hadoop-common&lt;/artifactId&gt;
                      &lt;groupId&gt;org.apache.hadoop&lt;/groupId&gt;
                  &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;artifactId&gt;hadoop-client&lt;/artifactId&gt;
                      &lt;groupId&gt;org.apache.hadoop&lt;/groupId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;!-- used to update stopwatch --&gt;
              &lt;groupId&gt;org.javassist&lt;/groupId&gt;
              &lt;artifactId&gt;javassist&lt;/artifactId&gt;
              &lt;version&gt;3.20.0-GA&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.drill&lt;/groupId&gt;
              &lt;artifactId&gt;drill-common&lt;/artifactId&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;artifactId&gt;hadoop-common&lt;/artifactId&gt;
                      &lt;groupId&gt;org.apache.hadoop&lt;/groupId&gt;
                  &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;artifactId&gt;hadoop-client&lt;/artifactId&gt;
                      &lt;groupId&gt;org.apache.hadoop&lt;/groupId&gt;
                  &lt;/exclusion&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
                      &lt;artifactId&gt;guava&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
  
  
      &lt;/dependencies&gt;
  </code></pre>
  
  <p>Any ideas to why the spring boot REST API might stop? My maven dependencies are according to the demos - and it's successfully being run - it's why the service stops after random time that doesn't make sense.</p>
  
  <p>The logging settings I am using for spring boot is </p>
  
  <pre><code>logging.level.org.springframework.web = DEBUG
  logging.level.org.hibernate = ERROR
  logging.file = /home/REST/Logging.log
  </code></pre>