I have a CORBA client running under Linux and a CORBA server running
on Win2k. Both systems have SUN's Java 1.4.2_03 on them. The server
is persistant and it is registered and started using servertool. The
problem that I am having is that the client seems to pause for a long
time(5 - 10 sec) when it calls orb.string_to_object(). ie.
Client:
// Create and initialize the ORB.
ORB orb = ORB.init(args, null);
logger.info("Retrieving ORB instance.");
org.omg.CORBA.Object obj = orb.string_to_object(corbaUrl);
logger.info("Narrowing...");
Orange impl = OrangeHelper.narrow(obj);
where:
args = "-ORBInitialPort 2250 -ORBInitialHost 192.168.1.112"
corbaUrl = "corbaname::192.168.1.112:2249#Orange"
I start the client and it prints "Retrieving ORB instance." and then
pauses for about 10 seconds. After it gets past that point the actual
ORB function calls are relatively quick. I hope this is not a Windows
problem.