From: | Oliver Jowett <oliver(at)opencloud(dot)com> |
---|---|
To: | David Hustace <david(at)opennms(dot)org> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Socket read fails |
Date: | 2006-01-25 22:12:16 |
Message-ID: | 43D7F7C0.20501@opencloud.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
David Hustace wrote:
> Conclusion java is doing a read on this socket, and postmaster is doing
> a recv.
Well, that's pretty weird.
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 :(
> We are considering the use of DataSource instead of the deprecated
> DriverManager, since DriverManager is synchronized. Any thoughts on
> the system level debugging above or the use of the DataSource Interface?
I doubt that using DataSource will make any difference. From the stack
traces you showed, this does not look like a Java-level deadlock at all.
(I noticed that your two stack traces seem to be talking to different
server versions, though.. what's up with that?)
-O
From | Date | Subject | |
---|---|---|---|
Next Message | Oliver Jowett | 2006-01-25 22:15:59 | Re: Inserting the wrong date |
Previous Message | Kris Jurka | 2006-01-25 20:20:32 | Re: strange problem |