ServerConfigManager serverConfigManager = ctx.lookup(ServerConfigManager.class);
ctx.lookup(MessageConsumer.class);
if (!serverConfigManager.isLocalMode() && !serverConfigManager.isLocalMode()) {
ConfigReloadTask configReloadTask = ctx.lookup(ConfigReloadTask.class);
UploaderAndCleaner uploader = ctx.lookup(UploaderAndCleaner.class);
Threads.forGroup("cat").start(configReloadTask);
Threads.forGroup("cat").start(uploader);
}