JavaIdl client with omniNames?
Ben Harris
bjh@orl.co.uk
Tue, 6 Jan 1998 15:30:54 +0000 (GMT)
On Fri, 26 Dec 1997, Kim Gillies wrote:
> All,
> Can a JavaIDL-based client access the omniNames name service using
> resolve_initial_references? I can successfully access (limited tests only)
> omniNames from a Java client if I narrow the IOR from my omniORB.cfg
> file, but when I try resolve_initial_references I get the following:
I looked into this a while ago. The problem is that Java IDL's
resolve_initial_references expects a propritary bootstrap server, which
OmniNames doesn't provide. Java IDL comes with one, though
(com.sun.CosNaming.BootstrapServer), so you can use that. I've attempted
to describe how in
<URL:http://www.orl.cam.ac.uk/~bjh/omniORB-JavaIDL-HOWTO.html>. Note that
that file also mentions the #pragma prefix incompatibility which has been
fixed in the latest omniORB snapshot.
--
Ben Harris
ORL