Home Help Center

warning: found unknown properties - service never activating

RonnieDayRonnieDay Member Ronnie DayOrganization: RBCCMProject: FIC Pricing
Hi,

Please help me. My service will never enter the activated state. It stays stuck in the activating state even though I have called activate.

I am initialising my service using the following code:


var adapter = communicator().createObjectAdapterWithEndpoints(config.GetName(), "tcp");
var id = communicator().stringToIdentity(config.GetName());
var query = new QueryI();
adapter.add(query, id);
adapter.activate();
communicator().waitForShutdown();

and my application.xml looks like this:


<?xml version="1.0" encoding="utf-8" ?>
<icegrid>
<application name="@AGENT[email protected]">

<replica-group id="@AGENT[email protected]">
<load-balancing type="round-robin" />
<object identity="@AGENT[email protected]" type="::foo::bar::InterfaceIce::Query" />
</replica-group>

<server-template id="@AGENT[email protected]">
<parameter name="index" />
<server id="@AGENT[email protected]${index}" exe="@[email protected]\App.exe" activation="manual">
<adapter name="@AGENT[email protected]" endpoints="tcp" replica-group="@AGENT[email protected]" />
<property name="Identity" value="@AGENT[email protected]" />
<property name="configPath" value="@AGENT[email protected]"/>
<property name="pluginPath" value="@AGENT[email protected]"/>
<property name="agentType" value="@AGENT[email protected]"/>
</server>
</server-template>

<node name="Node1">
<server-instance template="@AGENT[email protected]" index="1" />
</node>

<node name="Node2">
<server-instance template="@AGENT[email protected]" index="2" />
</node>

</application>
</icegrid>

Note. The @'s denoted values above are substituted.

The only thing I can see in the logs is this coming from standard error:

-! 24/04/2012 11:01:56:514 foo.bar.appName-1: warning: found unknown properties for object adapter `foo.bar.appName':
foo.bar.appName.Adapter.AdapterId
foo.bar.appName.Adapter.ReplicaGroupId
foo.bar.appName.Adapter.Endpoints


Any ideas ?
Sign In or Register to comment.