diff options
author | Benoit Foucher <benoit@zeroc.com> | 2002-07-25 21:00:42 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2002-07-25 21:00:42 +0000 |
commit | ad8a7ff3cbd06d6b40b95bd8637a8e997cc1ca88 (patch) | |
tree | d2f81956121e2adec6e0eace517b06800f118f40 /cpp/src | |
parent | empty prefix is now permissible (diff) | |
download | ice-ad8a7ff3cbd06d6b40b95bd8637a8e997cc1ca88.tar.bz2 ice-ad8a7ff3cbd06d6b40b95bd8637a8e997cc1ca88.tar.xz ice-ad8a7ff3cbd06d6b40b95bd8637a8e997cc1ca88.zip |
Fix.
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/IcePack/ApplicationDeployer.cpp | 3 | ||||
-rw-r--r-- | cpp/src/IcePack/Server.cpp | 12 | ||||
-rw-r--r-- | cpp/src/IcePack/ServerDeployer.cpp | 3 |
3 files changed, 15 insertions, 3 deletions
diff --git a/cpp/src/IcePack/ApplicationDeployer.cpp b/cpp/src/IcePack/ApplicationDeployer.cpp index 2c39e943fc3..a3aa919da83 100644 --- a/cpp/src/IcePack/ApplicationDeployer.cpp +++ b/cpp/src/IcePack/ApplicationDeployer.cpp @@ -46,6 +46,9 @@ public: { _admin->removeServer(_name); } + catch(const ServerNotInactiveException&) + { + } catch(const ServerNotExistException&) { } 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(); diff --git a/cpp/src/IcePack/ServerDeployer.cpp b/cpp/src/IcePack/ServerDeployer.cpp index 60636a9a1cd..9c490405ded 100644 --- a/cpp/src/IcePack/ServerDeployer.cpp +++ b/cpp/src/IcePack/ServerDeployer.cpp @@ -286,6 +286,9 @@ IcePack::ServerDeployer::undeploy() { _serverManager->remove(_description.name); } + catch(const ServerNotInactiveException&) + { + } catch(const ServerNotExistException&) { } |