openORB cannot find the NamingService
Fred Cook <[email protected]> Wed, 24 Apr 2002 16:36:59 -0700
| Newsgroups | gmane.comp.corba.openorb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all!
Situation:
Client uses openORB running on NT (sp 5).
Server uses omniORB running on Linux (red hat 6.1).
The NamingService is running on the server.
This is the bootstrap code
try
{
Properties props = new Properties();
props.put("org.omg.CORBA.ORBInitialHost", "yuba");
props.put("org.omg.CORBA .ORBInitialPort","1500");
String[] args = {" "," "};
ORB orb = ORB.init(args,props);
NamingContext rootContext =
NamingContextHelper.narrow(orb.resolve_initial_references("NameService"));
...
..
This code works with the ORB from Sun's JDK but openORB is giving me a
"can't find the host name from the DNS" error.
Any reason for this. Is there any other way to bootstrap openORB,
preferably from a file?
Thanks in advance
Fred
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of:
unsubscribe openorb-dev