0 Replies Latest reply on Feb 9, 2005 11:15 AM by Andrei Tarkhov

    Additional parameters to maintain connection pool.

    Andrei Tarkhov Newbie

      Some parameters for connection pool management are supported by commercial application servers could be very useful for JBoss JCA:
      1. Aged timeout - the total amount of time which connection can be alive.
      After this period connections are removed from the pool. Pay attention that it is not the same as IdleTimeout !!!
      2. The conn-usage-limit - the limit of connection usage
      (total number of connection life circles "allocate-release").
      3. The reap-timeout (instead of IdleTimeout/2 ) - the time interval when connection must be checked by some external service.

      Refactoring of IdleRemover and InternalManagedConnectionPool is able to simplify such extensions - see the previous thread
      http://www.jboss.org/index.html?module=bb&op=viewtopic&t=60010