Not sure whether there are any further developments on this, but would it be worthwhile
modifying EvictionTimerTask.handleRegion(...) so that at least if an unforseen problem
occurs which causes the eviction to stop then at least the exception is logged:
private void handleRegion(Region region)
| {
| try
| {
| region.processEvictionQueues();
| }
| catch (EvictionException e)
| {
| log.error("run(): error processing eviction with exception: "
| + e.toString() + " will reset the eviction queue
list.");
| region.resetEvictionQueues();
| log.debug("trace", e);
| }
| catch (RuntimeException e)
| {
| log.error("run(): error processing eviction", e);
| throw e;
| }
| catch (Error e)
| {
| log.error("run(): error processing eviction", e);
| throw e;
| }
| }
An alternative would be to just catch Throwable and not re-throw it. But not sure what
state the eviction queues would be in if scheduled eviction were to continue??
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250174#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...