[jboss-user] [JBossCache] - why cached objects become not available after leaving untouc
joy_wind
do-not-reply at jboss.com
Thu Aug 31 20:53:30 EDT 2006
Hi,
I am using treecache as an in-memory cache of my web application.I wrapped it as a bean and config it in Spring Ioc container,which will be initiated at the jboss startup time.The treecache hole some frequently used POJOs to avoid intensive database access.
Now I found that,if there is no any operation to use the cache objects for some time,if to get it again ,there will raise a NullPointerException.Seemed the cache object has been removed from the cache.
I guess this is because the Eviction Policies but not sure. I'm new to treecache,Anyone can help me ? If it does related to Eviction Policies,how to config the policy ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968813#3968813
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968813
More information about the jboss-user
mailing list