Web application does not run when the database is disconnected by exception

When the database is disconnected by exception, the Web application stops working. Closing and re-opening the application does not fix the problem.

Cause: When the database is disconnected by exception, the status of the data source to the database remains connected in the application server. When the application is restarted, the application server will not try to reconnect the database.

Solution: Restart the application server.