From ddf655a37d5d62a3b89adbf4d7ad9d23da65756c Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Wed, 12 Mar 2008 17:56:56 +0100 Subject: Fixed bug 2738 --- cpp/src/IceGrid/NodeCache.cpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'cpp/src/IceGrid/NodeCache.cpp') diff --git a/cpp/src/IceGrid/NodeCache.cpp b/cpp/src/IceGrid/NodeCache.cpp index b950bef3913..40d38788a6d 100644 --- a/cpp/src/IceGrid/NodeCache.cpp +++ b/cpp/src/IceGrid/NodeCache.cpp @@ -87,10 +87,17 @@ struct ToInternalServerDescriptor : std::unary_functionname + ".ReplicaGroupId", q->replicaGroupId)); } - if(q->registerProcess) + + // + // Ignore the register process attribute if the server is using Ice > 3.3.0 + // + if(_iceVersion != 0 && _iceVersion < 30300) { - props.push_back(createProperty(q->name + ".RegisterProcess", "1")); - _desc->processRegistered = true; + if(q->registerProcess) + { + props.push_back(createProperty(q->name + ".RegisterProcess", "1")); + _desc->processRegistered = true; + } } } -- cgit v1.2.3