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 37E8CD1B1F8 for ; Mon, 2 Aug 2004 10:16:04 -0300 (ADT) 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 08519-09 for ; Mon, 2 Aug 2004 13:16:04 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 5A012D1B1CD for ; Mon, 2 Aug 2004 10:15:59 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1BrccR-0007mH-00; Tue, 03 Aug 2004 01:12:47 +1200 Message-ID: <410E3DCC.3010601@opencloud.com> Date: Tue, 03 Aug 2004 01:12:44 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gaetano Mendola Cc: "pgsql-jdbc@postgresql.org" Subject: Re: Unknown Response Type 1 References: <410CE657.7010101@opencloud.com> <410CFC0F.1090802@bigfoot.com> <410D87CB.3030603@opencloud.com> <410E28AD.2030406@bigfoot.com> In-Reply-To: <410E28AD.2030406@bigfoot.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200408/8 X-Sequence-Number: 10730 Gaetano Mendola wrote: > I had some OutOfMemory in the client side but not related with the > Database interaction. Are you sure there was no OutOfMemoryError thrown within the JDBC driver code? (perhaps caused by some other part of the application exhausting the heap?) The driver isn't very good about keeping connections in a consistent state when unexpected exceptions are thrown. One possibility is that OOME was thrown partway through reading or writing a message on the protocol stream, but the driver did not invalidate that connection. Subsequent use of the connection will then fail randomly since the driver is out of sync with the message boundaries the server is expecting. -O