[omniORB] omiifr

Sveta Shasharina sveta@txcorp.com
Mon, 13 May 2002 16:10:42 -0600


Hi all!

I am trying to create an interface repository and 
access it in the client program using DII.

What exactly should I do?

1.  Where should I run omniifr?  If I try to
run from my project directory, it complains
that it cannot find shared libs.  Should I
run it from $(TOP)/src/services/omniifr?

2.  How do I choose the port number when I run
omniif?  If I do not pass any args to omniifr,
how do I locate the IR? 

3.  Do I populate the IR while omniifr is running?

4.  I tried to use this command in the directory
containing my Demo.idl file:

omniidl -bcxx Demo.idl -Wbs-ORBInitRef,InterfaceRepository=corbaloc::
location::/port/DefaultRepository

and it could not find Demo.idl.

I realize that I probably need to specify the location and port.
I guess it should correspond to the ones passed to omniifr.
How do I find the IR if I do not pass anything to omniifr?
What else should I do?  

Can use resolve_initial_references("InterfaceReposotory") with
all this machinery or should I use something with corbaloc?

A helloworld example would really help.

Thanks!

________________________________________

Dr. Svetlana Shasharina -- sveta@txcorp.com
Tech-X Corporation  -- www.techxhome.com
Ph:   (720) 563-0322
Cell: (720) 841-4301