[Ace-users] Re: Naming Service problem

vishnu.dhanya at gmail.com vishnu.dhanya at gmail.com
Sat Sep 22 10:54:37 CDT 2007


On Sep 22, 6:48 pm, schm... at dre.vanderbilt.edu (Douglas C. Schmidt)
wrote:
> Hi Vishnu,
>
> >Is CosNaming::Name name;
> >name.length(2);
>
> >is different from
> >CosNaming::Name name(2);
>
> Yes.  

I changed the code to
CosNaming::Name name (2);

But still same exception
InvalidName (IDL:omg.org/CosNaming/NamingContext/InvalidName:1.0)

regards,
Dhanya

> >Sure I will upgrade to latest version of TAO and CIAO,
>
> Great - please do that.
>
> >but I have been
> >facing this problem in earlier version of TAO as well.
>
> Right- your code is incorrect.
>
> >So where am wrong in syntax or semantic understanding of this Name
> >concept.?
>
> Please follow my instructions below:
>
> >> Please take a look at the Henning and Vinoski book on "Advanced CORBA
> >> Programming with C++" or McHale's "CORBA Explained Simply"
> >> <http://www.ciaranmchale.com/download/corba-explained-simply.pdf> for
> >> more info.
>
> Thanks,
>
>         Doug
> --
> Dr. Douglas C. Schmidt                       Professor and Associate Chair
> Electrical Engineering and Computer Science  TEL: (615) 343-8197
> Vanderbilt University                        WEB:www.dre.vanderbilt.edu/~schmidt
> Nashville, TN 37203                          NET: d.schm... at vanderbilt.edu




More information about the Ace-users mailing list