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@postgresql.org
[mailto:pgsql-jdbc-owner+M13852@postgresql.org] Im Auftrag von Oliver Jowett
Gesendet: Donnerstag, 15. September 2005 23:13
An: Sven Hütten
Cc: pgsql-jdbc@postgresql.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@postgresql.org so that your
message can get through to the mailing list cleanly