1 Reply Latest reply on Oct 26, 2003 8:27 AM by Adrian Brock

    JBossManagedConnectionPool - newbie

    newbie-jboss Newbie

      Hi all...

      I'm running JBoss 3.2 with PostgreSQL and as a newbie I don't understand why jboss throws exception after letting my application stopped for a while....

      13:16:01,780 INFO [JBossManagedConnectionPool] Exception destroying ManagedConnection
      org.jboss.resource.JBossResourceException: Could not cleanup: ; - nested throwable: (An I/O error occured while reading from backend - Exception: java.net.SocketException: Connection reset
      Stack Trace:

      java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:168)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      at org.postgresql.PG_Stream.ReceiveChar(PG_Stream.java:138)
      at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:76)
      at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:482)
      at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:461)
      at org.postgresql.jdbc1.AbstractJdbc1Connection.getTransactionIsolation(AbstractJdbc1Connection.java:1063)
      at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.cleanup(BaseWrapperManagedConnection.java:187)
      at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.destroy(BaseWrapperManagedConnection.java:222)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.doDestroy(InternalManagedConnectionPool.java:374)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.removeTimedOut(InternalManagedConnectionPool.java:288)
      at org.jboss.resource.connectionmanager.IdleRemover$1.run(IdleRemover.java:70)
      at java.lang.Thread.run(Thread.java:534)
      End of Stack Trace
      )
      at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.cleanup(BaseWrapperManagedConnection.java:194)
      at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.destroy(BaseWrapperManagedConnection.java:222)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.doDestroy(InternalManagedConnectionPool.java:374)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.removeTimedOut(InternalManagedConnectionPool.java:288)
      at org.jboss.resource.connectionmanager.IdleRemover$1.run(IdleRemover.java:70)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: An I/O error occured while reading from backend - Exception: java.net.SocketException: Connection reset
      Stack Trace:

      java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:168)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      at org.postgresql.PG_Stream.ReceiveChar(PG_Stream.java:138)
      at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:76)
      at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:482)
      at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:461)
      at org.postgresql.jdbc1.AbstractJdbc1Connection.getTransactionIsolation(AbstractJdbc1Connection.java:1063)
      at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.cleanup(BaseWrapperManagedConnection.java:187)
      at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.destroy(BaseWrapperManagedConnection.java:222)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.doDestroy(InternalManagedConnectionPool.java:374)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.removeTimedOut(InternalManagedConnectionPool.java:288)
      at org.jboss.resource.connectionmanager.IdleRemover$1.run(IdleRemover.java:70)
      at java.lang.Thread.run(Thread.java:534)
      End of Stack Trace

      at org.postgresql.PG_Stream.ReceiveChar(PG_Stream.java:144)
      at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:76)
      at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:482)
      at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:461)
      at org.postgresql.jdbc1.AbstractJdbc1Connection.getTransactionIsolation(AbstractJdbc1Connection.java:1063)
      at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.cleanup(BaseWrapperManagedConnection.java:187)
      ... 5 more

      Is there anybody who can help me?