|
Home > Archive > PostgreSQL JDBC > September 2005 > Re: org.postgresql.util.PSQLException: Eingabe/Ausgabe-Fehler
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: org.postgresql.util.PSQLException: Eingabe/Ausgabe-Fehler
|
|
| Oliver Jowett 2005-09-15, 8:24 pm |
| 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
| |
| Sven Hütten 2005-09-16, 1:23 pm |
| 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(StreamEnc
oder.java:38)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:151)
at java.io.OutputStreamWriter. flush(OutputStreamWr
iter.java:213)
at org.postgresql.core.PGStream.flush(PGStream.java:493)
at
org.postgresql.core.v3.QueryExecutorImpl. sendSync(QueryExecut
orImpl.java:631
)
at
org.postgresql.core.v3.QueryExecutorImpl. execute(QueryExecuto
rImpl.java:174)
at
org.postgresql.jdbc2. AbstractJdbc2Stateme
nt. execute(AbstractJdbc
2Statement.j
ava:389)
at
org.postgresql.jdbc2. AbstractJdbc2Stateme
nt. executeWithFlags(Abs
tractJdbc2St
atement.java:314)
at
org.postgresql.jdbc2. AbstractJdbc2Stateme
nt. executeQuery(Abstrac
tJdbc2Statem
ent.java:221)
at
org.postgresql.jdbc2. AbstractJdbc2Databas
eMetaData. getMaxNameLength(Abs
tract
Jdbc2DatabaseMetaDat
a.java:81)
at
org.postgresql.jdbc2. AbstractJdbc2Databas
eMetaData. getColumns(AbstractJ
dbc2D
atabaseMetaData.java:2382)
Best regards...
Sven Hütten
-----Ursprüngliche Nachricht-----
Von: pgsql-jdbc- owner+M13852@postgre
sql.org
[mailto:pgsql-jdbc- owner+M13852@postgre
sql.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
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
http://archives.postgresql.org
| |
| Oliver Jowett 2005-09-16, 8:24 pm |
| 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(StreamEnc
oder.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
---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match
|
|
|
|
|