1 Reply Latest reply on Apr 1, 2005 2:52 PM by Daniel Rosenbaum

    Eviction Exceptions

    Daniel Rosenbaum Newbie

      Hi,

      I constantly get exceptions such as this, using JBossCache with Hibernate:

      01 Apr 2005 12:27:37,217 WARN org.jboss.cache.eviction.LRUAlgorithm - evict(): Node not found with this fqn: //org/ifmc/qies/qw/data/po/QwEnvrmt Could have been evicted earlier already
      
      01 Apr 2005 12:27:37,218 ERROR org.jboss.cache.eviction.EvictionTimerTask - run(): error processing eviction with exception: org.jboss.cache.eviction.EvictionException: LRUAlgorithm.removeFromQueue(): internal error. Can't find fqn in nodeMap. fqn: //org/ifmc/qies/qw/data/po/QwEnvrmt will reset the eviction queue list.
      


      Errors such as these fill up my error log quite a bit (I log warnings and errors) but I am not so concerned about such errors, as they are only evictions that may have already taken place. Would it be possible to either:

      1) Make it a configuration setting whether the user would like to see these particular errors and warnings.

      or

      2) At least log these particular messages in its own logging Category (such as org.jboss.cache.eviction.LRUAlgorithm.EvictNodeNotFoundError and/or org.jboss.cache.eviction.EvictionTimerTask.EvictNodeNotFoundError), so in my log4j config I can switch logging off for these categories. (I would not want to turn off the LRUAlgorithm or EvictionTimerTask categories themselves, otherwise I would miss other more important and legitimate errors and warnings).

      Thank you,
      Daniel