[omniORB] omniMapper as bootstrap for Java?

Michael Carland michael.carland@nvs.com
Thu, 22 Mar 2001 12:38:39 -0600


Howdy everyone,

I'm immersing myself in CORBA, and am having problems finding 
explanations for how some things work.

What I am trying to do is tie the services of a couple different ORBs 
together, and access them from Java.

Using JDK1.3s native ORB, I am able to access omniNames. Since I can not 
modify the other service to register with the name service, I thought I 
could use omniMapper to access those services, but am having problems.

Can the omniMapper be used as the bootstrap for the JDK ORB? As the 
simplest test I've tried, I started omniNames on port 1099, and starting 
Java with -ORBInitialPort 1099, the name service appears as an initial 
service. I then start omniMapper on port 1098, with a config file 
containing "NameService IOR:......" in verbose mode. I see that it loads 
the config file, but when I use port 1098 from Java, there are no 
initial services. If I kill omniMapper, the Java program fails, so I 
know they are communicating. I entered the same IOR in omniMapper with 
the name INIT, and Java really didn't like that.

I guess my questions are:
1) can omniMapper be used as the initial services point for the 
bootstrap method that Java uses? How do I name the entries on the config 
file?
2) where can I find more documentation about how this process works? 
None of the books on CORBA I have surrounded myself with describe the 
process.

Thanks for your time.
-Michael