Received: from mailgw01.execpc.com (mailgw01.execpc.com [169.207.2.78]) by hub.org (8.9.1/8.9.1) with ESMTP id LAA12213 for ; Mon, 25 Jan 1999 11:25:37 -0500 (EST) (envelope-from gholmer@weycogroup.com) Received: from weycogroup.com (glennh@narn-2-55.mdm.mke.execpc.com [169.207.134.183]) by mailgw01.execpc.com (8.9.0) id KAA10158 for ; Mon, 25 Jan 1999 10:25:34 -0600 (CST) Sender: glennh@execpc.com Message-ID: <36AC9AB8.BB5BB30@weycogroup.com> Date: Mon, 25 Jan 1999 10:24:24 -0600 From: Glenn Holmer Reply-To: gholmer@weycogroup.com Organization: Weyco Group, Inc. X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i686) MIME-Version: 1.0 To: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] JDBC throws with error code 0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Peter Mount wrote: >> loading JDBC class "postgresql.Driver"... >> >> connecting to jdbc:postgresql://miranda:5432/factory... >> executeQuery... >> Unknown Response Type: >> return code is: 0 >> >> This is making me very confused. Why does it throw if the >> return code is 0? Can anybody shed some light on this? > >This return code is part of the network protocol. It's throwing because >the driver wasn't expecting a packet of type '0'. > >Are you using the driver from 6.3, or a later one? Thanks for responding, Peter. Using 6.3. I think I have something: it runs under Windows (JDK 1.1.7B) and Linux (Blackdown 1.1.7), but not under OS/2 (IBM JDK 1.1.7). I applied IBM's latest patches from about a week ago but still get this. I did do a TCP/IP dump while this was happening, if anyone would like to see it. I will be running this under Linux, so it's not a showstopper, but enquiring minds do want to know... -- ____________________________________________________________ Glenn Holmer gholmer@weycogroup.com Programmer/Analyst phone: 414.263.8827 Weyco Group, Inc. fax: 414.263.8808