Re: connection reset and I/O error

From: Kris Jurka <books(at)ejurka(dot)com>
To: mpr <mpruefer(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: connection reset and I/O error
Date: 2005-09-14 20:01:02
Message-ID: Pine.BSO.4.62.0509141457310.9343@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Wed, 14 Sep 2005, mpr wrote:

> I'm working on an application using PostgreSQL 8.0.3 via Hibernate
> 2.1.6 in a JBoss 4.0.1 Appserver, with both appserver and
> postgres db running on the same machine with Windows XP SP2.
>
> I get the following errors in JBoss' log, does anyone know the problem
> and a solution? And yes, I already googled a lot for this problem.
> I use the postgresql-8.0-311.jdbc3.jar jdbc driver.
>

Initially this looks like a network failure with the
"java.net.SocketException: Connection reset" messages, but since you say
the database and app server are running on the same machine that seems a
little hard to believe. What about someone restarting the database (or
the database crashing) while the app is running? Do you see anything
relevent in the database server log?

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Mike Warnecke 2005-09-14 20:08:06 GSSAPI or Kerberos authentication problems
Previous Message Rob Kirkbride 2005-09-14 19:37:55 Re: connection reset and I/O error