Re: SocketClosedException

From: Fernando Nasser <fnasser(at)redhat(dot)com>
To: Warren Little <wlittle(at)securitylending(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: SocketClosedException
Date: 2002-12-04 19:28:27
Message-ID: 3DEE575B.1080402@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)redhat(dot)com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Fernando Nasser 2002-12-04 19:37:55 Re: JDBC driver - first impressions and comments
Previous Message Felipe Schnack 2002-12-04 19:24:35 Re: UTF encoding error