Re: Segmentation Fault on CosNaming_NamingContext_bind()



Hi Zulkarnaen,

> The fact is segmentation fault because name_srv is always NULL,
> somebody tell me how to fix this problem ..
> I still don't understand why ..:)

You have to start the name-service. This sputs out an IOR. This IOR has to be
given as an argument to the ORBit-program, just like the following example:

orbit-name-server >/tmp/ior &
yourserver -ORBNamingIOR=`cat /tmp/ior` &
yourclient -ORBNamingIOR=`cat /tmp/ior`

That should work.

Bye,
Sebastian
-- 
Sebastian Wilhelmi                   |            här ovanför alla molnen
mailto:wilhelmi ira uka de           |     är himmlen så förunderligt blå
http://goethe.ira.uka.de/~wilhelmi   |




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]