I used the following code to remove all the nodes (all parents and children) in a TreeCache:
TreeCache cache = .... | Fqn root = cache.get("/").getFqn(); | cache.remove(root); However shortly after this I get messages such as the following in the logs: [QW]21 Feb 2006 11:00:29,012 WARN org.jboss.cache.eviction.LRUAlgorithm - DataNode not found with this fqn: //org/ifmc/qies/qw/data/po/QwDataGrpVw Could have been evicted earlier already | [QW]21 Feb 2006 11:00:29,037 ERROR org.jboss.cache.eviction.EvictionTimerTask - run(): error processing eviction with exception: org.jboss.cache.eviction.EvictionException: internal error. Can't find fqn in nodeMap. fqn: //org/ifmc/qies/qw/data/po/QwDataGrpVw will reset the eviction queue list. | [QW]21 Feb 2006 11:00:29,047 WARN org.jboss.cache.eviction.LRUAlgorithm - DataNode not found with this fqn: //org/ifmc/qies/qw/data/po/QwUserDfltOptn Could have been evicted earlier already | [QW]21 Feb 2006 11:00:29,047 ERROR org.jboss.cache.eviction.EvictionTimerTask - run(): error processing eviction with exception: org.jboss.cache.eviction.EvictionException: internal error. Can't find fqn in nodeMap. fqn: //org/ifmc/qies/qw/data/po/QwUserDfltOptn will reset the eviction queue list. | [QW]21 Feb 2006 11:00:29,053 WARN org.jboss.cache.eviction.LRUAlgorithm - DataNode not found with this fqn: //org/ifmc/qies/qw/data/po/QwUserVw Could have been evicted earlier already | [QW]21 Feb 2006 11:00:29,054 ERROR org.jboss.cache.eviction.EvictionTimerTask - run(): error processing eviction with exception: org.jboss.cache.eviction.EvictionException: internal error. Can't find fqn in nodeMap. fqn: //org/ifmc/qies/qw/data/po/QwUserVw will reset the eviction queue list. Is this an improper way to clear the cache? Is so, what is the correct method? And what are the consequences (if any) of having these log messages, would this cause a memory leak or anything else or are these benign messages and can be ignored? Thank you, Daniel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926620#3926620 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926620 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user