Hi Geoff:<br>I think you made a little mistake here.  <br>It's the switch f (-f) that allows you to specify the rtc.conf you wanna use on the command line, not -c<br>I am using windows<br><br>Thanks<br>Tony<br><br><div class="gmail_quote">
On 28 September 2010 16:51, Geoffrey Biggs <span dir="ltr"><<a href="mailto:geoffrey.biggs@aist.go.jp">geoffrey.biggs@aist.go.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 28/09/10 12:30, Tony Kuo wrote:<br>
> Hi Geoff:<br>
> Thank you for your answer!!<br>
> It's very useful!<br>
><br>
> The first or second option is probably what i will go for.<br>
><br>
> I was testing my components, and actually just found out that,<br>
> if you put a copy of rtc.conf in the same directory as the component to run,<br>
> the component will use that configuration in the conf file to initiailise.<br>
<br>
</div>Yes, they will. When a manager starts (starting a component in<br>
stand-alone mode starts a manager just for that component<br>
automatically), it looks through a chain of places for a configuration file:<br>
<br>
1) The file specified on the command line using the -c option.<br>
2) An rtc.conf file in the current working directory.<br>
3) etc/ under the install prefix.<br>
4) /etc<br>
<div class="im"><br>
> My components could connect to the nameserver<br>
> if I specify the right nameserver IP in the conf (via corba.nameservers)<br>
> Do they work in the same way as corba.endpoints?<br>
<br>
</div>The endpoints setting is for other objects to connect to the component's<br>
ORB in order to make remote procedure calls. It is only needed when the<br>
ORB cannot figure out for itself which interfaces/addresses to bind to.<br>
It does not tell the component which name server to connect to.<br>
<br>
Geoff<br>
<br>
</blockquote></div><br>