I'm trying to get rid of the following annoying messages in the tomcat
catalina.out log file. I'm running 1.5.1 on Fedora Core 9 with
postgresql-8.3.3-2.fc9.i386, but I've been getting these messages even with
1.4.2. I got rid of them under 1.4 by replacing the apache database
connection pooling library with another one. However since I upgraded to 1.5
I decided not to try and go too deep in customising, and these messages
can't be a good sign. I'm figuring that they must have an impact on database
response and they can occur quite frequently (like per request). Can anyone
say whether there are any postgresql parameters, or apache pooling library
parameters that I could change.

org.postgresql.util.PSQLException: An I/O error occured while sending to the
backend.
        at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:214)
        at
org.postgresql.jdbc2.AbstractJdbc2Connection.executeTransactionCommand(AbstractJdbc2Connection.java:621)
        at
org.postgresql.jdbc2.AbstractJdbc2Connection.rollback(AbstractJdbc2Connection.java:658)
        at
org.apache.commons.dbcp.DelegatingConnection.rollback(DelegatingConnection.java:328)
        at
org.apache.commons.dbcp.DelegatingConnection.rollback(DelegatingConnection.java:328)
        at
org.apache.commons.dbcp.PoolingDriver$PoolGuardConnectionWrapper.rollback(PoolingDriver.java:377)
        at org.dspace.core.Context.abort(Context.java:356)
        at org.dspace.core.Context.finalize(Context.java:499)
        at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
        at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
        at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
Caused by: java.io.IOException: Stream closed
        at sun.nio.cs.StreamEncoder.ensureOpen(StreamEncoder.java:26)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:121)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
        at org.postgresql.core.PGStream.flush(PGStream.java:531)
        at
org.postgresql.core.v3.QueryExecutorImpl.sendSync(QueryExecutorImpl.java:672)
        at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:187)
        ... 11 more
java.sql.SQLException: Already closed.
        at
org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:84)
        at
org.apache.commons.dbcp.PoolingDriver$PoolGuardConnectionWrapper.close(PoolingDriver.java:269)
        at
org.dspace.storage.rdbms.DatabaseManager.freeConnection(DatabaseManager.java:566)
        at org.dspace.core.Context.abort(Context.java:365)
        at org.dspace.core.Context.finalize(Context.java:499)
        at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
        at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
        at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
dspace: System startup complete.

John
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to