Archived

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

Multiple Adapters

Hello,

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.

Jennie

Comments

  • marc
    marc Florida
    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).