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

From: Sven Hütten <sven(dot)huetten(at)web(dot)de>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: org.postgresql.util.PSQLException: Eingabe/Ausgabe-Fehler
Date: 2005-09-16 16:15:21
Message-ID: E1EGIry-00089S-00@smtp08.web.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hello,

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)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:151)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
at org.postgresql.core.PGStream.flush(PGStream.java:493)
at
org.postgresql.core.v3.QueryExecutorImpl.sendSync(QueryExecutorImpl.java:631
)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:174)

at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.j
ava:389)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2St
atement.java:314)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statem
ent.java:221)
at
org.postgresql.jdbc2.AbstractJdbc2DatabaseMetaData.getMaxNameLength(Abstract
Jdbc2DatabaseMetaData.java:81)
at
org.postgresql.jdbc2.AbstractJdbc2DatabaseMetaData.getColumns(AbstractJdbc2D
atabaseMetaData.java:2382)

Best regards...

Sven Hütten

-----Ursprüngliche Nachricht-----
Von: pgsql-jdbc-owner+M13852(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner+M13852(at)postgresql(dot)org] Im Auftrag von Oliver Jowett
Gesendet: Donnerstag, 15. September 2005 23:13
An: Sven Hütten
Cc: pgsql-jdbc(at)postgresql(dot)org
Betreff: Re: [JDBC] org.postgresql.util.PSQLException:
Eingabe/Ausgabe-Fehler

Sven Hütten wrote:

> org.postgresql.util.PSQLException: Eingabe/Ausgabe-Fehler {0} beim
> Senden an das Backend.

Is there a nested exception also reported? This is a generic "I/O error
occurred" exception that doesn't give us much info.

-O

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
message can get through to the mailing list cleanly

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2005-09-16 21:03:27 Re: org.postgresql.util.PSQLException: Eingabe/Ausgabe-Fehler
Previous Message Oliver Jowett 2005-09-15 21:12:44 Re: org.postgresql.util.PSQLException: Eingabe/Ausgabe-Fehler