X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1298C5380E for ; Wed, 6 Apr 2005 11:10:11 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 95971-09 for ; Wed, 6 Apr 2005 10:10:08 +0000 (GMT) Received: from p15158730.pureserver.info (p15158730.pureserver.info [82.165.40.122]) by svr1.postgresql.org (Postfix) with ESMTP id AA03D537E4 for ; Wed, 6 Apr 2005 11:10:05 +0100 (BST) Received: (qmail 20655 invoked from network); 6 Apr 2005 10:10:06 -0000 Received: from host81-137-85-41.in-addr.btopenworld.com (HELO kermit) (81.137.85.41) by p15158730.pureserver.info with SMTP; 6 Apr 2005 10:10:06 -0000 Reply-To: From: "Anthony Chaffey" To: Subject: An I/O error occured while sending to the backend Date: Wed, 6 Apr 2005 11:10:07 +0100 Organization: Web Media Works Message-ID: <001701c53a90$cf879cc0$6600a8c0@kermit> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0018_01C53A99.314C04C0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.413 tagged_above=0 required=5 tests=HTML_30_40, HTML_MESSAGE, HTML_TEXT_AFTER_BODY, HTML_TEXT_AFTER_HTML X-Spam-Level: X-Archive-Number: 200504/37 X-Sequence-Number: 12644 This is a multi-part message in MIME format. ------=_NextPart_000_0018_01C53A99.314C04C0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit 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? Thanks for any help. Anthony. Stack Trace: org.postgresql.util.PSQLException: An I/O error occured while sending to the backend. at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java: 201) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stateme nt.java:388) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdb c2Statement.java:313) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2St atement.java:220) ...... at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.JToggleButton$ToggleButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.io.EOFException at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:243) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImp l.java:1122) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java: 175) ... 35 more -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.3 - Release Date: 05/04/2005 ------=_NextPart_000_0018_01C53A99.314C04C0 Content-Type: text/html; charset="windows-1250" Content-Transfer-Encoding: quoted-printable Message
Hi,
 
 
I have developed an application using the=20 postgresql-8.0-310.jdbc3 driver and connecting to a postgresql 8.0.1 = database=20 running on fedora core 3. Everything was working fine until i started = running=20 the application on the clients pc's. Randomly they receive an error, the = stack=20 trace of which is below.
 
The = only difference=20 between my testing pc and the client's pc's is that they use a wireless = network=20 card. Both my machine and the client's pc's are running Windows XP with = SP2.=20 Similar problems have been posted on this mailing list and people have = suggested=20 a firewall is clearing the connection which makes sense as the client = claims=20 this problem only occurs if the application is left idle for a short = time but=20 does anyone have any more information that may = help?
 
Thanks = for any=20 help.
 
Anthony.
 
Stack=20 Trace:

org.postgresql.util.PSQLException:=20 An I/O error occured while sending to the backend.
 at=20 org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:2= 01)
 at=20 org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statemen= t.java:388)
 at=20 org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc= 2Statement.java:313)
 at=20 org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Sta= tement.java:220)
 ......
 at=20 javax.swing.AbstractButton.fireActionPerformed(Unknown = Source)
 at=20 javax.swing.AbstractButton$Handler.actionPerformed(Unknown = Source)
 at=20 javax.swing.DefaultButtonModel.fireActionPerformed(Unknown = Source)
 at=20 javax.swing.JToggleButton$ToggleButtonModel.setPressed(Unknown=20 Source)
 at javax.swing.AbstractButton.doClick(Unknown=20 Source)
 at = javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown=20 Source)
 at=20 javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown=20 Source)
 at java.awt.Component.processMouseEvent(Unknown=20 Source)
 at javax.swing.JComponent.processMouseEvent(Unknown=20 Source)
 at java.awt.Component.processEvent(Unknown = Source)
 at=20 java.awt.Container.processEvent(Unknown Source)
 at=20 java.awt.Component.dispatchEventImpl(Unknown Source)
 at=20 java.awt.Container.dispatchEventImpl(Unknown Source)
 at=20 java.awt.Component.dispatchEvent(Unknown Source)
 at=20 java.awt.LightweightDispatcher.retargetMouseEvent(Unknown = Source)
 at=20 java.awt.LightweightDispatcher.processMouseEvent(Unknown = Source)
 at=20 java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
 at = java.awt.Container.dispatchEventImpl(Unknown Source)
 at=20 java.awt.Window.dispatchEventImpl(Unknown Source)
 at=20 java.awt.Component.dispatchEvent(Unknown Source)
 at=20 java.awt.EventQueue.dispatchEvent(Unknown Source)
 at=20 java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown=20 Source)
 at = java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown=20 Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown=20 Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown=20 Source)
 at java.awt.EventDispatchThread.run(Unknown = Source)
Caused=20 by: java.io.EOFException
 at=20 org.postgresql.core.PGStream.ReceiveChar(PGStream.java:243)
 at=20 org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl= .java:1122)
 at=20 org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:1= 75)
 ...=20 35 more

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.3 - Release Date: = 05/04/2005

------=_NextPart_000_0018_01C53A99.314C04C0--