[omniORB] netscape/visibroker applet with omninames

Gary D. Duzan gdd0@gte.com
Thu, 03 Dec 1998 10:25:40 -0500


   Unless I'm mistaken, Visibroker is nonstandard in this respect.  I
believe their resolve_initial_reference("NameService") returns a
NamingContextFactory (or some such thing, a proprietary extension)
instead of a NamingContext for the root. Also, when working with
Visibroker/C++, I couldn't even do a proper string_to_object() and
_narrow() of an omniNames NamingContext IOR using Visigenic's naming
library. Instead we had to run the Naming.idl through Visigenic's IDL
compiler and use the stubs generated there. After that it worked fine.

					Gary Duzan
					GTE Laboratories



In Message <F1EF643B1CB7D011A9A000805FD6A9DF2F3F8D@PSERV4T> ,
   Herve Lehoux <hlehoux@ADWAYS.com> wrote:

=>sorry for asking a question not directly connected with omniORB and
=>that's certainly 
=>already been discussed, but i did not find it in the faq.
=>
=>i'm trying to make a java applet run by netscape/visibroker call the
=>omniNames CosNaming service that's
=>running on a remote host to obtain reference for a C++ corba server.
=>
=>all i was able to obtain is a InvalidName exception when calling
=>resolve_initial_refernce("NameService")
=>
=>of course a C++ client compiled with omniORB lib works very well.
=>
=>could anyone give me configuration/setup  for the java client side to
=>work correctly ?
=>
=>Thanks in advance, Herve.
=>
=>
=>