Home Help Center

Object adapter registration without master registry

tctimmehtctimmeh Member Tim CourtOrganization: Enbridge PipelinesProject: Historical Data Retriever
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

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    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.
Sign In or Register to comment.