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