We have a requirement for our application to work regardles of wheteher the Database is up or not. Specifically, if JBoss starts and the database is not running already, then when the database is ready, the service should connect to it.
What we have found now is that if:
- Database is up and JBoss is started -> works - Database is up, Jboss is started, Database is stopped, database is restarted -> works - Database is down, JBoss is started, database is started -> doesn't work
Any way to correct the last part? What we want is not to have to stop the JBoss process if the database is unavailable.