setHttpsProtForConsole();
try {
BundleContext bndCtx = ctxt.getBundleContext();
ConfigurationHolder.getInstance().setBundleContext(bndCtx);
TenantServiceBusInitializer listener = new TenantServiceBusInitializer();
bndCtx.registerService(
Axis2ConfigurationContextObserver.class.getName(), listener, null);
// initialize the lock
Lock lock = new ReentrantLock();