--- Ice-3.4.2.orig/cpp/src/IceGrid/ReplicaSessionManager.cpp 2011-06-15 21:43:59.000000000 +0200 +++ Ice-3.4.2/cpp/src/IceGrid/ReplicaSessionManager.cpp 2012-03-04 19:55:44.000000000 +0100 @@ -500,6 +500,14 @@ } exception.reset(ex.ice_clone()); } + catch(const PermissionDeniedException& ex) + { + if(_traceLevels) + { + _traceLevels->logger->error("connection to the the registry `" + _name + "' was denied:\n" + ex.reason); + } + exception.reset(ex.ice_clone()); + } catch(const Ice::Exception& ex) { exception.reset(ex.ice_clone());