posted 12 years ago
Hi all,
I am using spring and hibernate to work on multiple database server save,update simultaneously using 2 datasource configuration.
I am using
class for creating datasource.
If both the database server up/running then it's work fine.
If I close one of my database server and trying to catch the exception then it's not coming in catch block
and the stack trace error displaying on my web browser.
Stack Trace:
How can I handle this exception.
I want to display in my GUI that one of my db server is down If any of my db server is down.
Please help on this.
Thanks,
Rama