0 Replies Latest reply on Apr 23, 2002 8:48 AM by CLaus Guttesen

    how do I change pool parameters?

    CLaus Guttesen Newbie

      Hi.

      I'm doing an import of approx. 4500 records into a table. I wrote it as a java-program to enhancde my skills. While I perform the import the log comes with this message:

      [org.jboss.ejb.plugins.EntityInstancePool] The Pool for no.gnomeit.profa.PostcodetblEJB has been overloaded. You should change pool parameters.

      I found an example-jboss.xml-file which I copied and added to my jar-file but I can't deploy it, since it has syntax-errors.

      The jboss.xml-file is this:



      <enterprise-beans>

      <ejb-name>Postcodetbl</ejb-name>
      <configuration-name>LRU Configuration</configuration-name>

      </enterprise-beans>

      <container-configurations>
      <container-configuration>
      <container-name>LRU Configuration</container-name>
      <instance-cache>org.jboss.ejb.plugins.EntitySessionInstanceCache</instance-cache>
      <container-cache-conf>
      <cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
      <cache-policy-conf>
      <min-capacity>5000</min-capacity>
      <max-capacity>10000</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-configuration>
      </container-configurations>



      How can I change the parameters for this particular bean?

      regards
      Claus