I have a Java EE 7 app with EJB 3 and Servlets running in WebSphere 9. At start-up Liquibase is initializing and running the database scripts. If Liquibase throws an exception, I would like that the entire Java Webapp is terminated and that it doesn't start.
How can I terminate the entire Java Webapp when Liquibase throws an exception?