How to access service properties using icegridadmin on the command line on a shared communicator

grembogrembo Michael GmelinOrganization: Grem Equity GmbHProject: E-Commerce platformMember

Hi,

When not using a shared communicator, retrieving service properties work like they used to (before ice 3.6). When a shared communicator is used, they're not found anymore.

Glancing at ServiceManagerI.cpp it seems like the property facet is registered on the prefix IceBox.SharedCommunicator, but I don't see a way I could access that from icegridadmin (as it always checks if the service exists).

Example protocol trace:
{{{
reply status = 2 (object not exist)
identity = MyGrid-RegistryServerAdminRouter/MyIceBox
facet = IceBox.Service.MyService.Properties
operation = getPropertiesForPrefix
}}}

The attached patch is a (probably not sufficient) workaround that fixes the problem in a backwards compatible way. The same probl

Best Answer

  • benoitbenoit Rennes, FranceBenoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Accepted Answer

    Thanks for the report, we will fix this in the next minor release!

    Cheers,
    Benoit.

Answers

  • grembogrembo Michael GmelinOrganization: Grem Equity GmbHProject: E-Commerce platformMember

    em probably happens in the Java UI as well (didn't test yet).

    Patch to cpp/src/IceGrid/Parser.cpp attached.

    -- Michael

  • benoitbenoit Rennes, FranceBenoit FoucherOrganization: ZeroC, Inc.Project: IceAdministrators, ZeroC Staff ZeroC Staff
    Accepted Answer

    Thanks for the report, we will fix this in the next minor release!

    Cheers,
    Benoit.

Sign In or Register to comment.