0 Replies Latest reply on Jun 5, 2003 4:56 AM by tommo

    max-bean life and age

    tommo Newbie

      Picked up the following from a previous post:

      "Increase the value of max-bean-life in your configuration. The way the beans are removed is based on this

      (max-bean-life) - (max-bean-age)

      By default, max-bean-life is 1800(30mins) and max-bean-age is 600(10mins). So if any beans exceeds this, it gets deleted. Look in LRUStatefulcontextcachepolicy.java's run method.

      -Raj"

      Bit confused by this - if the value is increased fine, but surely the bean would still be removed after an amount of time and we would have the same problem ("system cannot find the requested file")?
      Are we missing something here?
      Could someone elaborate slightly (or even largely?)?

      Thanks.