(JBoss 4.0.4.GA + JbossCache 1.4.0.GA + EJB 3.0 RC8) cache not clear
(JBoss 4.0.4.GA + JbossCache 1.4.0.GA + EJB 3.0 RC7) cache clear !!!
For the time being we use EJB 3.0 RC7...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3976880#3976880
Reply to the
OK, eviction policy has this restriction that if you specify the region name
from the xml, it needs to be String-based (since there is no way to express
Object from xml configuration).
So if you need to evict non-String based fqn, you will have to do it via
programmatically yourself. Here is a
Hi,
I've seen the same problem, too! In this case, my last node is a Long
object... Hope this gets fixed soon. Thanks!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3976859#3976859
Reply to the post :
I have the same problem.
When the last node in FQN is a String everything is fine. But when the last
node in FQN is an Integer the cache is not cleared.
| treeCache.put(new Fqn(new Object[]{a, b,
Integer.valueOf(1).toString()}), key2, value2);//The data will be cleared
|
|
Had you applied a cache loader?
and maybe the cached object will be cleaned after 15 seconds as your
configuration.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3962717#3962717
Reply to the post :
That`s my log:
| 2006-08-03 09:44:06,736 DEBUG [org.jboss.system.ServiceCreator] About to
create bean: jboss.cache:service=TreeCache with code: org.jboss.cache.TreeCache
| 2006-08-03 09:44:06,767 DEBUG [org.jboss.system.ServiceCreator] Created
bean: jboss.cache:service=TreeCache
|
From you log tracing, eviction timer thread is supposed to wake up every 5
seconds. But I don't see that (you have between 08, 33, and 43). Is that all
you have?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3962746#3962746
Reply to the post :
No my log is more long. This is fragment only. But I can't find in log
EvictionThreadWakeupIntervalSeconds or other world
reminiscent of this parameter
In ejb3-entity-cache-service.xml:
5
In the jmx-console I can see EvictionThreadWakeupIntervalSeconds = 5
(I can send you all my log)
View
you can turn on the org.jboss.cache to trace to see the eviction log.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3962466#3962466
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3962466