// Create HTTP Stack
try {
SipContainer.instance().initHttpLayerHandler();
} catch (StackConfigException ex) {
throw new ServerLifecycleException("Initializating stack for HTTP failed.", ex);
}
SipContainer.instance().initClbAdmin();
SipContainer.instance().registerRealmAdapter();
SipContainer.instance().resolveSipBindings();
// Create SIP Stack
try {
SipContainer.instance().initLayerHandler();
} catch (StackConfigException ex) {
throw new ServerLifecycleException("Initializating stack for SIP failed.", ex);
}
}