title: How to abort Tomcat startup upon exception in ServletContextListener?
body: <p>I have a class implementing <code>ServletContextListener</code> that loads some resources upon startup.</p>
  
  <p>Those resources are critical to the application in a way that I would like to fail the whole startup when some bad event happens in my logic.</p>
  
  <p>Is there any command I can execute from inside the <code>ServletContextListener.contextInitialized()</code> method to stop and fail the whole Tomcat startup?</p>