Re: org.postgresql.util.PSQLException: Eingabe/Ausgabe-Fehler

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Sven Hütten <sven(dot)huetten(at)web(dot)de>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: org.postgresql.util.PSQLException: Eingabe/Ausgabe-Fehler
Date: 2005-09-16 21:03:27
Message-ID: 432B331F.3000404@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Sven Hütten wrote:

> now, i have logged the cause of the PSQLException. Here are the stacktrace:
>
> java.io.IOException: Stream closed
> at sun.nio.cs.StreamEncoder.ensureOpen(StreamEncoder.java:38)

The two most likely options here are:

- you are closing the Connection, then trying to use an object created
from it such as a Statement; or
- you are ignoring a fatal SQLException thrown by an earlier operation
that is causing the Connection to be automatically closed.

-O

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Gianluigi 2005-09-17 11:08:48 GCJ jdbc driver compilation
Previous Message Sven Hütten 2005-09-16 16:15:21 Re: org.postgresql.util.PSQLException: Eingabe/Ausgabe-Fehler