Archived

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

Re: demoj\IcePack\hello

Hi,

I was running the demoj\IcePack\hello sample. service.xml says that it going to register object with identity Service1 of type "::Hello", but when I do a Ice.ObjectPrx[] helloObjects = query.findAllObjectsWithType("::Hello");

I find only one instance "Foo".

<icepack>

<service name="${name}" entry="HelloServiceI">

<adapters>
<adapter name="${name}" endpoints="tcp:udp">
<object identity="${name}" type="::Hello"/>
</adapter>
</adapters>

<properties>
<!-- The identity of the hello object will be the name of the server -->
<property name="Identity" value="${name}"/>
</properties>

</service>

</icepack>

How is <object > tag supposed to work?

Thanks,
--Venkat.