[Ace-users] [ciao-users] Problems with deployment

Friedhelm Wolf fwolf at dre.vanderbilt.edu
Thu Dec 6 09:21:49 CST 2007


Hi Serena,

in addition to what Will said, some suggestions:

> Dance. We follow the Step-by-Step tutorial on deployment of 
> components,

I assume by step-by-step tutorial, you mean the following document:
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/CIAO/examples/Hello/step-by-step.html
Is that correct?

In this case it is helpful to have a closer look at the
NodeManagerMap.dat file, that you created (I assume, you did so).
It would help us if you attach that as well, to figure out, what is
going on.

> components, however, the deployment fails with the following error 
> message: DAnCE (20051|3070376608) Deployment_Configuration.cpp:Failed
>  to find IOR for destination <localhost>

It is rather uncommon to use "localhost" as a node name as you did in
your Deploymentplan (lines 22 and 40):
   <instance
id="LeroDIS_ComponentImplementations_LeroDISImplementation_LeroDIS_CommChannel">

<name>LeroDIS_ComponentImplementations_LeroDISImplementation_LeroDIS_CommChannel</name>
     <node>localhost</node>
...

I usually name nodes more telling as LocalNode or SenderNode or
something like this.

But to come back to the NodeManagerMap.dat file: The above tutorial is
not very clear about the fact, that you have to create this file
manually at this point.
For an example for the file format, you can refer to:
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/CIAO/examples/Hello/descriptors/NodeManagerMap.dat

Each line contains two entries: The first one is the name of the node 
(in your case, it should be localhost) and the second one the ior to 
access this node (this has to be identical with the endpoint of a 
running NodeApplication, that can load a component). In this way, the 
Execution_Manager figures out how to connect to the NodeApplications you 
started.

HTH, Friedhelm



More information about the Ace-users mailing list