[omniORB] javaORB and OmniORB

Frederic Rouas frouas@oktal.fr
Mon, 17 May 1999 17:28:28 +0200


Hi OmniORBers,

I actually have to cope with the same problem, Mark Howells submited
afew weeks ago. Unfortunately, I don't manage to solve to make my stuff
work, I suppose I haven't properly understood the answer which was given
to Mark.

My problem is the following.
I'm trying to make a javaORB ( from dog
http://www.multimania.com/dogweb) client side work with omniNames.
JavaORB uses a config file to resolve initial refs for the NameService.
The following entry works with both client and server using javaORB

NameService  Host(my_pc),
ObjectId(IDL:omg.org/CosNaming/NamingContext:1.0),
Key(NamingRoot),
Port(my_port)

If I set my_pc and my_port to match with omniNames configuration, I get
'org.omg.CORBA.OBJECT_NOT_EXIST' on attempting to narrow the Naming
context.

What should I use as ObjectId (id of the initial reference) and Key (its
simply key) values ? How can I get these values ?


I also failed to make eg3 omniORB example work with javaORB Naming
Service. I only set ORBInitialHost and ORBInitialPort to the machine and
the port where the service is available. Isn't it enough ?

Thanks


-- 
   Frederic ROUAS
   E-mail : frouas@oktal.fr