Instead of throwing WebApplicationException should we exit the JVM? WebApplicationException should be effect of client request, here its during server startup itself.