pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Glenn Holmer <gholmer@weycogroup.com>
To: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] JDBC throws with error code 0
Date: Mon, 25 Jan 1999 10:24:24 -0600
Message-ID: <36AC9AB8.BB5BB30@weycogroup.com> (raw)

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



view thread (3+ messages)

Message-ID: <36AC9AB8.BB5BB30@weycogroup.com>
Permalink:  ../36AC9AB8.BB5BB30@weycogroup.com/
Also on:    postgresql.org/message-id/36AC9AB8.BB5BB30@weycogroup.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: gholmer@weycogroup.com
  Subject: Re: [INTERFACES] JDBC throws with error code 0
  In-Reply-To: <36AC9AB8.BB5BB30@weycogroup.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox