Dear sir,
i am using following code to initialize DefaultCacheManager class
DefaultCacheManager dcm= new DefaultCacheManager("Config.xml");
Address localNodeAddress =dcm.getAddress() ; //return null
but,if initialize all caches and starting listeners for deployments ,I can get address this time
DefaultCacheManager dcm= new DefaultCacheManager("Config.xml");
AdvancedCache cache1=dcm.getCache("cache1").getAdvancedCache() ;
.....
.....
AdvancedCache cache50=dcm.getCache("cache50").getAdvancedCache() ;
Address localNodeAddress =dcm.getAddress() ;//can get value
is there any delay needed or something wrong in the configuration??