0 Replies Latest reply on May 26, 2005 5:34 AM by mschwarz

    max entity bean size

    mschwarz

      Hi there,

      can anybody tell me, how to DECREASE the maximum size of entities in the container ?

      I'm using a CMP approach and am currently trying to debug an error within my application. To do so, I need to decrease the number of concurrent instances of a specific bean.

      I modified the jboss.xml:

      <container-cache-conf>
       <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
       <cache-policy-conf>
       <min-capacity>1</min-capacity>
       <max-capacity>2</max-capacity>
       <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>
       <MaximumSize>2</MaximumSize>
      </container-pool-conf>
      


      but when I look at jboss.j2ee:jndiName=myEJB,plugin=pool,service=EJB
      in the console I still see a MaxSize of 100.

      Where is my mistake ?