summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/Server.cpp')
-rw-r--r--cpp/src/IcePack/Server.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/cpp/src/IcePack/Server.cpp b/cpp/src/IcePack/Server.cpp
index b746ef9ae7a..28db1b2874e 100644
--- a/cpp/src/IcePack/Server.cpp
+++ b/cpp/src/IcePack/Server.cpp
@@ -314,12 +314,11 @@ int
adminAdapter->setLocator(locatorProxy);
//
- // Activate the adapters.
+ // Activate adapters.
//
- shutdownOnInterrupt();
adminAdapter->activate();
- locatorAdapter->activate();
locatorRegistryAdapter->activate();
+ locatorAdapter->activate();
//
// Deploy application desciptor.
@@ -342,6 +341,13 @@ int
}
}
+ string bundleName = properties->getProperty("IcePack.PrintServersReady");
+ if(!bundleName.empty())
+ {
+ cout << bundleName << " ready" << endl;
+ }
+
+ shutdownOnInterrupt();
communicator()->waitForShutdown();
ignoreInterrupt();