Originally posted by Karthik Arumugam:
HI Mark,
i think it can be done in the code level rte? caz i got the same kind of issue. During the start up process if the DB server is not available then i need to stop the application server b4 its getting started? is that possible
Thanks
Karthik
Now, how about this concept. JBoss allows for validation queries to run when you create a Connection and when you get one out of the Pool. I think you can create your own validation object, that if the connection is bad, it double checks that the database is still up, and then if not, it shutsdown the App Server
Originally posted by Mark Spritzler:
That would be scary.
Originally posted by Jaikiran Pai:
The whole requirement of shutting down the app server because the database is down, looks scary. Usually if the database is down, the application would show a page which will mention the same, but the application server will still be running.
Originally posted by Karthik Arumugam:
Thanks for your reply sri and Mark. But i got the requirement like this wat 2 do?