2 Replies Latest reply on Dec 7, 2012 3:55 AM by Bond Chan

    ejbRemove on stateful session bean?

    gue13 Newbie

      hi,

      specified in jboss.xml :

      <cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy</cache-policy>
      <cache-policy-conf>
      <min-capacity>1</min-capacity>
      <max-capacity>1000000</max-capacity>
      <remover-period>30</remover-period>
      <max-bean-life>100</max-bean-life>
      <overager-period>30</overager-period>
      <max-bean-age>60</max-bean-age>

      => stateful session bean should be removed - but ejbRemove is never called? is bean passivated (after 60 sec's) and expires silently? when will it be removed then?

      pls help!

      kind regards