Re: SocketClosedException - Mailing list pgsql-jdbc

From Fernando Nasser
Subject Re: SocketClosedException
Date
Msg-id 3DEE575B.1080402@redhat.com
Whole thread Raw
In response to SocketClosedException  (Warren Little <wlittle@securitylending.com>)
List pgsql-jdbc
Warren Little wrote:>
> I'm getting SocketClosedExceptions quite often on the jdbc connection.
> I assume its the server side closing the socket but I can't seem to
> determine why.
> Has anyone had experience with connections going stale??
>

Isn't your backend dying?  Look at the log.

You may also try and determine what operation you were attempting before this
happening (or is it at random times?).

P.S.: It could theoretically be a network problem as well, of course.  Like if
you are using it through a tunnel and it falls.

--
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


pgsql-jdbc by date:

Previous
From: Felipe Schnack
Date:
Subject: Re: UTF encoding error
Next
From: Fernando Nasser
Date:
Subject: Re: JDBC driver - first impressions and comments