Originally posted by: screen_jhadipak
Hello,
I'm working on a java module that is hosted by a Websphere Application Server (WAS) running on a AIX box. During runtime, the module requests for a database connection from a WAS-managed JDBC connection pool and then uses that connection for various interactions with the database.
My problem is that when the database box is down for some reason, WAS tries to establish a connection to the database IP on the specified port and waits for a long time (about 1 minute) before giving up and throwing an exception. Because traffic on the application is huge, this leads to several other problems and in most cases, a full crash.
I was wondering if there is a way to configure a time-out at the OS level so that the OS forces WAS to throw its exception after the time-out period expires. Going a bit further, is it possible to configure the OS to behave in this manner for a specified process (as identified by its PID)?
Any help in this regard will be greatly appreciated.
Regards,
Dipak Jha
#AIX-Forum