Comment #8 on issue 1672 by vladimir.ralev: Improve debugging methods for
replication issues
http://code.google.com/p/mobicents/issues/detail?id=1672
Not sure, it seems there is a config file and by default it points to some
REPL SYNC file in JBosTreeSipCache. Not sure what it is used for.. But
indeen I can see the DIALOGS subtree in the AS4 Tomcat cache, so at least
mbean-wise the important stuff is manage-able.
public void init() throws SipCacheException {
String pojoConfigurationPath =
configProperties.getProperty(TREE_CACHE_CONFIG_PATH,
DEFAULT_FILE_CONFIG_PATH);
if
(clusteredSipStack.getStackLogger().isLoggingEnabled(StackLogger.TRACE_INFO))
{
clusteredSipStack.getStackLogger().logInfo(
"Mobicents JAIN SIP Tree Cache Configuration path is : " +
pojoConfigurationPath);
}
try {
treeCache = new TreeCache();
treeCache.createService();
cacheListener = new
JBossJainSipCacheListener(clusteredSipStack);
treeCache.addTreeCacheListener(cacheListener);
PropertyConfigurator config = new PropertyConfigurator(); // configure
tree cache.
config.configure(treeCache, pojoConfigurationPath);
} catch (Exception e) {
throw new SipCacheException("Couldn't init the
TreeCache", e);
}
}