[jboss-user] [JBossCache] - Using JBossCache for session management

pharvener do-not-reply at jboss.com
Tue Oct 24 18:11:34 EDT 2006



All,

We are using JBossCache as means of distributing/replicating session state across a cluster of application servers. 
We use the "CacheMode">INVALIDATION_SYNC . To my understanding, using this cache mode, the actual cache state exists on only one server and all other servers maintain a placeholder for an individual entry. If a server attempts to get a cache entry which it only has a placeholder for, it forces a replication to occur. The cache entry replicated to the server requesting the cache item. The original server holding cache item is reset to be a placeholder and life goes on.

What happens when the application server crashes, who is holding the actual entry state information. It appears the other servers, holding placeholders complain and throw exceptions. 

Is it possible to force JBossCache to automatically remove stale entries; those whose state is stored on a faulted server


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980552#3980552

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980552



More information about the jboss-user mailing list