An Ice client application must supply a proxy for the locator object, which it can do in several ways:
- by explicitly configuring an indirect proxy using the
ice_locator
proxy method - by calling
setDefaultLocator
on a communicator, after which all new proxies use the given locator by default - by defining the
Ice.Default.Locator
configuration property, which causes all proxies to use the given locator by default
The Ice run time's efforts to resolve an indirect proxy can be traced by setting the following configuration properties:
Ice.Trace.Network=2 Ice.Trace.Protocol=1 Ice.Trace.Locator=2
See Ice Trace Properties for more information on these properties.