How to terminate entire Java webapp when Liquibase exception occured at start-up

39 Views Asked by At

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?

0

There are 0 best solutions below