in our organisation we use a MSSQL database on one server and JBOSS 4.2 on another server.
After restarting the servers the MSSQL database is not always running when the JBOSS service is starting up.
Therefor the JBOSS go's into an error state and does not work.
Is there a way for JBOSS to keep trying to connect to the database until the database is also running?
You can write your custom Mbean with database reconnect logic to check database availability and make the Mbeans that need database connection depends on this Mbean.
Retrieving data ...