1 Reply Latest reply on Mar 20, 2012 8:38 AM by Jesper Pedersen

    How to retry a datasource connection?

    skethire Newbie

      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?

       

      Thanks

      srini