Payara breaks after a database connection issue

Hello community,

I have Payara 2020.7 running on Ubuntu and connecting to Oracle DB via jdbc connection pool.
When there is a network connectivity issue from the Payara to the DatabaseDatabase (reboot the DB server, network issue, change etc.), even though the DB connection is back, Payara starts failing.
When I reboot the Payara server, I even see that application modules are disappeared. When I redeploy the application, the problem is solved.
Also, if the Payara service is stopped during the DB maintenance, we dont have any issue.

I could not find why the application modules disappear or Payara configuration is affected after a DB connectivity issue.

any ideas how to fix this?