Home Help Center

Multiple Adapters


I have two (related) objects that I am referring to with the same UUID. I am adding them to different adapters, but when I do so I still get a "servant with id x is already registered" exception. The two adapters are on the same communicator. Should this matter? Thank you.



  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    You should not get this error if you register the same identity with two different object adapters. Do you have example code that demonstrates the problem?

    Note that with respect to the Ice object model in general, object IDs must be unique, i.e., you shouldn't use the same ID to register two different servants, except if these two servants implement the same logical Ice object (for example, for fault tolerance).
Sign In or Register to comment.