I have the following situation:
1. I have a jdbc server deployed in JBOSS AS 7.1
2. I also defined a datasource that connects to the server above in the same container
My jdbc server takes some time to start. In the meanwhile, the datasource initialization fails and my application cannot run.
What do I need to do so the datasource connection is retried until it is successful? Is there a way?
You can look at adding prefill, valid connection checker and allocation retry.
See here - http://docs.jboss.org/ironjacamar/userguide/1.0/en-US/html/deployment.html#deployingds_descriptor
Retrieving data ...