1 Reply Latest reply on Aug 7, 2002 9:07 AM by Rickard Öberg

    Connection.close() fails

    Rickard Öberg Newbie

      I've looked up the HsqlDB datasource from the default configuration (java:/DefaultDS), and can use it alright. But, when I close() it I get the following exception:
      java.lang.IllegalArgumentException: disconnect(ManagedConnection mc, Object c) c
      alled with unknown managed connection
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.unregiste
      at org.jboss.resource.connectionmanager.LocalTxConnectionManager$LocalCo
      at org.jboss.resource.adapter.jdbc.local.LocalManagedConnection.closeHan
      at org.jboss.resource.adapter.jdbc.local.LocalConnection.close(LocalConn

      And if I don't close it the pool runs out of connections. This is done from a servlet.

      Any idea what's wrong? I searched the forums but couldn't find anything on this. Since this is just plain JDBC on the default DS one'd think that it'd crop up for pretty much everyone...

      I'm using 3.1.0alpha from a couple of weeks back.