Hello,
I'm using JBossCacheAOP with JBoss 3.2.6
I have defined the following maps in my class
private Map localSessionMap = new HashMap ();
private Map proxySessionMap;
then I added the "localSessionMap" to the cache and retrieve the proxy
referene:
treeCache = new TreeCacheAop();
PropertyConfigurator config = new PropertyConfigurator();
config.configure(treeCache, "META-INF/nmsSync-service.xml");
treeCache.start(); // kick start the cache
treeCache.putObject(cacheNodeName, this.localSessionMap);
//get a proxied map
proxySessionMap= (HashMap)treeCache.getObject(cacheNodeName);
now when I try to add something to the proxy map "proxySessionMap"
proxySessionMap.put(sessionId, sessDO);
it adds the to the cache, but localSessionMap state is not synchronized
Please help.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906377#3906377
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906377
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user