ConnectorJ dont see disconnect
"David Goodyear" <[email protected]> Wed, 31 Jan 2007 19:57:17 -0000
| Newsgroups | gmane.comp.db.mysql.java |
|---|---|
| Message-ID | <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA06nHQR5X5UGQVuGtZzFOTMKAAAAQAAAAmTJ1Ag+dqUeLiLaeMlS4RAEAAAAA@gmail.com> |
Hi, I have a java program that successfully keeps retrying to connect when necessary to a mysql server, until it is connected. When this cannot connect I get Exceptions, which is fine they are dealt with. However, every second this sends data to the server. I'm currently running the server in a VMWareServer. If I halt the system running MySQL, my application happy continues sending data to the server without detecting its there. On all the exceptions I have Logs attached, and I never see any thing thrown if I halt it while my application is constantly writing data. How does anyone else detect dropped network links etc Thanks in advance David