Re: An I/O error occured while sending to the backend

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: An I/O error occured while sending to the backend
Дата
Msg-id 42540D4D.2000504@hogranch.com
обсуждение исходный текст
Ответ на An I/O error occured while sending to the backend  ("Anthony Chaffey" <anthony@webmediaworks.co.uk>)
Ответы Re: An I/O error occured while sending to the backend  (Scott Marlowe <smarlowe@g2switchworks.com>)
Список pgsql-jdbc
Anthony Chaffey wrote:
> Hi,
>
>
> I have developed an application using the postgresql-8.0-310.jdbc3
> driver and connecting to a postgresql 8.0.1 database running on fedora
> core 3. Everything was working fine until i started running the
> application on the clients pc's. Randomly they receive an error, the
> stack trace of which is below.
>
> The only difference between my testing pc and the client's pc's is that
> they use a wireless network card. Both my machine and the client's pc's
> are running Windows XP with SP2. Similar problems have been posted on
> this mailing list and people have suggested a firewall is clearing the
> connection which makes sense as the client claims this problem only
> occurs if the application is left idle for a short time but does anyone
> have any more information that may help?

its probaly exactly what you say, most firewalls, NAT routers, etc will time
out idle sockets after a certain number of minutes...   They have to do this,
otherwise the firewall's connection tracking tables will fill up with old flug.

only good solution is to catch the exception, and attempt to reopen the
database connection, and retry the operation....


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Anthony Chaffey"
Дата:
Сообщение: An I/O error occured while sending to the backend
Следующее
От: Chris Kratz
Дата:
Сообщение: UNICODE encoding and jdbc related issues