0 Replies Latest reply on Oct 8, 2004 1:25 PM by midrangeman

    EvictionException when trying to remove node from TreeCache

    midrangeman

      I'm trying create a mechanism to clear an existing cache on demand ... I'm doing this by executing the remove method on my TreeCache object.

      All my cache entries are added somewhere under the under the '/com/mks/implementer/server' node.

      After I execute the remove method, I get the following exception ...

      2004-10-08 12:14:18,274 WARN LRUAlgorithm - evict(): Node not found with this fqn: /com/mks/implementer/server Could have been evicted earlier already
      2004-10-08 12:14:18,274 ERROR EvictionTimerTask - run(): error processing eviction with exception: org.jboss.cache.eviction.EvictionException: LRUAlgorithm.removeFromQueue(): internal error. Can't find fqn in nodeMap. fqn: /com/mks/implementer/server will reset the eviction queue list.
      org.jboss.cache.eviction.EvictionException: LRUAlgorithm.removeFromQueue(): internal error. Can't find fqn in nodeMap. fqn: /com/mks/implementer/server
      at org.jboss.cache.eviction.LRUAlgorithm.removeFromQueue(LRUAlgorithm.java:216)
      at org.jboss.cache.eviction.LRUAlgorithm.processRemovedNodes(LRUAlgorithm.java:108)
      at org.jboss.cache.eviction.LRUAlgorithm.processQueues(LRUAlgorithm.java:81)
      at org.jboss.cache.eviction.LRUAlgorithm.process(LRUAlgorithm.java:51)
      at org.jboss.cache.eviction.EvictionTimerTask.run(EvictionTimerTask.java:35)
      at java.util.TimerThread.mainLoop(Timer.java:432)
      at java.util.TimerThread.run(Timer.java:382)

      Am I doing something wrong here?

      I'm thinking this isn't rocket science ... but I won't discount a usage or configuration problem.

      Any suggestions would be appreciated.

      david