The API you want to use is activateRegion(String fqn), which 1) fetches state 
from another node on the cluster for the subtree rooted at fqn, and 2) enables 
marshalling for the subtree.  _getState is the internal call one node makes to 
another when it needs a partial state transfer.

This call should come after your call to registerClassLoader.

Another call you may want to add is treeCache.setInactiveOnStartup(true), 
before your call to createService().  This will prevent the cache handling any 
replication messages for an fqn until an activateRegion() call has been made 
for the fqn or one of its parents.  Without this, if another node tries to 
replicate some data in the /incivinci subtree before you can call 
registerClassLoader, you will get errors.

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

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


-------------------------------------------------------
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

Reply via email to