[omniORB] how to set the argument “-ORBInitref” in namingservice on vxworks platform

Duncan Grisby duncan at grisby.org
Tue May 29 10:58:35 BST 2018


On Mon, 2018-05-28 at 15:55 +0800, Tonny.W via omniORB-list wrote:

>       Recently,i try to port omniorb 4.2.2 on vxworks platform,the
> question is how to set the argument “-ORBInitref” in namingservice.
> Please help me.thank you very much!

What exactly are you trying to do?

-ORBInitRef is a command line argument, which possibly doesn't make
sense on vxworks. All it does it provide an object reference that is
given to orb->string_to_object(), so it might be simpler for you to
just call that directly.

If you absolutely must have a name that can be resolved with
resolve_initial_references(), then you can set it with extra parameters
to ORB_init(), in an environment, or in a configuration file:

http://omniorb.sourceforge.net/omni42/omniORB/omniORB004.html


Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --




More information about the omniORB-list mailing list