diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-09-19 07:47:35 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-09-19 07:47:35 +0000 |
commit | 9e6813c510d9a4af09a0d314d7abdb2eedd002c6 (patch) | |
tree | 93530d59406d0d7a0b2e9882f19aeab3ab134e9e | |
parent | http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=435. added (diff) | |
download | ice-9e6813c510d9a4af09a0d314d7abdb2eedd002c6.tar.bz2 ice-9e6813c510d9a4af09a0d314d7abdb2eedd002c6.tar.xz ice-9e6813c510d9a4af09a0d314d7abdb2eedd002c6.zip |
Fix
-rw-r--r-- | cpp/src/IcePack/Activator.cpp | 7 | ||||
-rw-r--r-- | cpp/src/IcePack/ServerI.cpp | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/cpp/src/IcePack/Activator.cpp b/cpp/src/IcePack/Activator.cpp index 4250241ce0b..955814632b9 100644 --- a/cpp/src/IcePack/Activator.cpp +++ b/cpp/src/IcePack/Activator.cpp @@ -60,15 +60,16 @@ public: } virtual void - ice_exception(const Ice::Exception&) + ice_exception(const Ice::Exception& ex) { + cerr << ex << endl; _activator->deactivate(_name, 0); } private: const ActivatorPtr _activator; - const string _name; + const string _name; }; } @@ -818,7 +819,7 @@ Activator::deactivate(const string& name, const Ice::ProcessPrx& process) if(_traceLevels->activator > 1) { Ice::Trace out(_traceLevels->logger, _traceLevels->activatorCat); - out << "sent Ctrl+Break to server `" << name << "' (pid = " << pid << ")"; + out << "sent Ctrl+Break to server `" << name << "' (pid = " << pid << ")"; } } else diff --git a/cpp/src/IcePack/ServerI.cpp b/cpp/src/IcePack/ServerI.cpp index d661d32e98c..db715b9ed52 100644 --- a/cpp/src/IcePack/ServerI.cpp +++ b/cpp/src/IcePack/ServerI.cpp @@ -653,7 +653,7 @@ void ServerI::setProcess(const ::Ice::ProcessPrx& proc, const ::Ice::Current&) { IceUtil::Monitor< ::IceUtil::Mutex>::Lock sync(*this); - _process = Ice::ProcessPrx::uncheckedCast(proc->ice_timeout(_waitTime)); + _process = Ice::ProcessPrx::uncheckedCast(proc->ice_timeout(_waitTime * 1000)); notifyAll(); } |