summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/NodeCache.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2008-03-12 17:56:56 +0100
committerBenoit Foucher <benoit@zeroc.com>2008-03-12 17:56:56 +0100
commitddf655a37d5d62a3b89adbf4d7ad9d23da65756c (patch)
tree0930dab75fd5b5153ddfde972d5d7a946ef55541 /cpp/src/IceGrid/NodeCache.cpp
parentSLES fixes (diff)
downloadice-ddf655a37d5d62a3b89adbf4d7ad9d23da65756c.tar.bz2
ice-ddf655a37d5d62a3b89adbf4d7ad9d23da65756c.tar.xz
ice-ddf655a37d5d62a3b89adbf4d7ad9d23da65756c.zip
Fixed bug 2738
Diffstat (limited to 'cpp/src/IceGrid/NodeCache.cpp')
-rw-r--r--cpp/src/IceGrid/NodeCache.cpp13
1 files changed, 10 insertions, 3 deletions
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_function<CommunicatorDescriptorPt
{
props.push_back(createProperty(q->name + ".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;
+ }
}
}