1 Reply Latest reply on Jun 5, 2003 10:38 AM by Steven Goldsmith

    idle-timeout not working?

    Eric Molitor Newbie

      I've been using jSwat to track down resource issues and noticed that our application was leaking connections. Obviously this is a no-no on our part. The only scary part though was that those connections were never garbage collected and never timed out. our connections settings are listed below, but anybody should be able to duplicate this. Create a simple app that opens a connection and doesn't close it. Set the idle-timeout to 15 minutes, start the app and come back a few hours later and the connection still hasn't been reaped.

      I'm stepping through the connection Wrappers and JCA support in JBoss now trying to figure this out. But shouldn't the connections timeout after 15 minutes? Is there another configuration option to look at?

      JBOSS 3.2.1 JDK 1.4.1_02 win 2000

      <min-pool-size>10</min-pool-size>
      <max-pool-size>50</max-pool-size>
      <blocking-timeout-millis>5000</blocking-timeout-millis>
      <idle-timeout-minutes>15</idle-timeout-minutes>
      True

      - Eric