title: Shutdown Tomcat instance using Java
body: <p>I am running an application using tomcat as the container - at start up, several files need to be found and loaded. However, if one of these files doesn't exist or can't be read, I want to log the exception and exit the app, which I am currently doing using System.exit(1)... however, is there a better way of doing this?</p>
  
  <p>Any help is much appreciated! </p>