X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 6137F9DC837 for ; Wed, 25 Jan 2006 19:30:15 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 02340-03 for ; Wed, 25 Jan 2006 19:30:17 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by postgresql.org (Postfix) with ESMTP id 7A1169DCA48 for ; Wed, 25 Jan 2006 19:30:11 -0400 (AST) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1F1u5e-0004Xg-18; Thu, 26 Jan 2006 12:30:14 +1300 Message-ID: <43D80A00.2070505@opencloud.com> Date: Thu, 26 Jan 2006 12:30:08 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051009) X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Hustace CC: pgsql-jdbc@postgresql.org Subject: Re: Socket read fails References: <84d3067d0601151935l581b07f1nfa231483a900518f@mail.gmail.com> <84d3067d0601242203w6cef6a9dt90fb8c45c55b2798@mail.gmail.com> <43D7F7C0.20501@opencloud.com> <9536F7D5-F299-42A9-8A24-5B6A99352FD3@opennms.org> In-Reply-To: <9536F7D5-F299-42A9-8A24-5B6A99352FD3@opennms.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.112 required=5 tests=[AWL=0.112] X-Spam-Score: 0.112 X-Spam-Level: X-Archive-Number: 200601/121 X-Sequence-Number: 14572 David Hustace wrote: >> Can you reproduce this with a recent driver and loglevel=2 (append it >> as a URL parameter to your JDBC URL) and send me the resulting debug >> output offlist? It sounds like it might be hard to trigger though :( > > > Sure. I already have that enabled. Finding the output is tricky. The debug output should be going to the DriverManager log stream, or stderr if that's not set. > Also, for future reference, can you tell me if the call to > PGSimpleDataSource.getConnection() is thread safe? It does not change the state of the datasource and just delegates to DriverManager to do the real work, so it should be threadsafe. -O