"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.
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?)?