1 Reply Latest reply on Aug 2, 2006 11:00 AM by hubaer

    JBoss (seems) to ignore standardjboss.xml and jboss.xml

    hjones

      Hi there,

      I'm trying the whole day to adjust in jboss-4.0.4RC1 the timespans until it passivates/removes stateful session beans (written using ejb3).

      I adjusted all the <max-bean-age>/<max-bean-life>/etc.-values in the standardjboss.xml but it always waits 10 minutes before passivating. Overriding these values in a jboss.xml (see below) doesn't work either.

      Any ideas? I'm sure I overlooked something...

      <?xml version="1.0" encoding="UTF-8"?>
      <jboss>
       <container-configurations>
       <container-configuration>
       <container-cache-conf>
       <cache-policy-conf>
       <min-capacity>50</min-capacity>
       <max-capacity>1000000</max-capacity>
       <remover-period>65</remover-period>
       <max-bean-life>60</max-bean-life>
       <overager-period>40</overager-period>
       <max-bean-age>30</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>
      </jboss>
      



      Regards,
      Matthias