0 Replies Latest reply on Feb 26, 2003 2:24 PM by rob_roland

    Session Bean Pool Minimum not working

    rob_roland

      When I configure the container to try and set a minimum size for a given pool or even create my own pool the container never fills the pool to the minimum, it will only add items to the pool as the request level grows:

      I have seen other discussions on how to preload a pool but none of it works, can anyone tell me how to set a minimum size on a bean pool/cache in jboss 3.0.x ?

      the following is a config snippet from standardjboss.xml:

      <container-cache-conf>
      <cache-policy> org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy
      </cache-policy>
      <cache-policy-conf>
      <min-capacity>50</min-capacity>
      <max-capacity>10000</max-capacity>
      <remover-period>1800</remover-period>
      <max-bean-life>1800</max-bean-life>
      <overager-period>300</overager-period>
      <max-bean-age>600</max-bean-age>
      <resizer-period>400</resizer-period>
      <max-cache-miss-period>60</max-cache-miss-period>
      <min-cache-miss-period>1</min-cache-miss-period>
      <cache-load-factor>0.75</cache-load-factor>
      </cache-policy-conf>
      </container-cache-conf>
      <container-pool-conf>
      1000
      10
      </container-pool-conf>
      </container-configuration>