diff options
author | Mark Spruiell <mes@zeroc.com> | 2008-03-13 01:31:42 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2008-03-13 01:31:42 -0700 |
commit | d6d8a6fac56855db5cb0f3764b833fd0abd174ed (patch) | |
tree | 0a5ff354715d6fb71ed37bf4c5685d66db978a65 /java/src/IceBox/ServiceManagerI.java | |
parent | Fixed mode (diff) | |
download | ice-d6d8a6fac56855db5cb0f3764b833fd0abd174ed.tar.bz2 ice-d6d8a6fac56855db5cb0f3764b833fd0abd174ed.tar.xz ice-d6d8a6fac56855db5cb0f3764b833fd0abd174ed.zip |
bug 2820: IceBox fixes
Diffstat (limited to 'java/src/IceBox/ServiceManagerI.java')
-rw-r--r-- | java/src/IceBox/ServiceManagerI.java | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/java/src/IceBox/ServiceManagerI.java b/java/src/IceBox/ServiceManagerI.java index 6be461c616b..90fc32e4558 100644 --- a/java/src/IceBox/ServiceManagerI.java +++ b/java/src/IceBox/ServiceManagerI.java @@ -849,9 +849,17 @@ public class ServiceManagerI extends _ServiceManagerDisp { if(_traceServiceObserver >= 1) { - _logger.trace("IceBox.ServiceObserver", - "Removed service observer " + _server.communicator().proxyToString(observer) - + "\nafter catching " + ex.toString()); + // + // CommunicatorDestroyedException may occur during shutdown. The observer notification has + // been sent, but the communicator was destroyed before the reply was received. We do not + // log a message for this exception. + // + if(!(ex instanceof Ice.CommunicatorDestroyedException)) + { + _logger.trace("IceBox.ServiceObserver", + "Removed service observer " + _server.communicator().proxyToString(observer) + + "\nafter catching " + ex.toString()); + } } } |