Let it die

in Help Center
Hi,
If I start icegridnode with the name that is already taken it hang around and puts
...
09/22/09 11:26:04.088 icegridnode: error: a node with the same name is already active with the replica `Master'
09/22/09 11:26:19.093 icegridnode: error: a node with the same name is already active with the replica `Master'
...
in the node err log every 15 secs.
Is it possible to let it die on this kind of error?
Thanks,
Sergei Kosenko
If I start icegridnode with the name that is already taken it hang around and puts
...
09/22/09 11:26:04.088 icegridnode: error: a node with the same name is already active with the replica `Master'
09/22/09 11:26:19.093 icegridnode: error: a node with the same name is already active with the replica `Master'
...
in the node err log every 15 secs.
Is it possible to let it die on this kind of error?
Thanks,
Sergei Kosenko
0
Comments
At present it's not possible but yes this is something we could consider adding. In theory, it should only occur if you run two nodes with the same name at the same time, is this what is happening here? Any reasons why you can't easily prevent this? Could you please also specify the Ice and operating system versions you're using?
Cheers,
Benoit.
I might just try to comment out
catch(const NodeActiveException& ex)
{
...
}
in ./cpp/src/IceGrid/NodeSessionManager.cpp
Thanks,
Sergei Kosenko