Archived

This forum has been archived. Please start a new discussion on GitHub.

Object adapter registration without master registry

How exactly do Ice servers register their presence with the IceGrid registry when not using a deployment descriptor? For some reason I was under the impression that they contacted each replica listed in Ice.Default.Locator.

Specifically, I'm trying to start a server and have it dynamically register it's object adapter. When the master registry is not running I get a NotRegistredException even though my replicas have the DynamicRegistration flag set. Is this scenario not possible?

Comments

  • benoit
    benoit Rennes, France
    Hi,

    The dynamic registration of an adapter needs to be replicated and persisted by all the slaves, only the master can do this. So yes, it's not possible to register dynamically an adapter if the master registry isn't running.

    Cheers,
    Benoit.