Posted By:
Kavya_Reddy
Posted On:
Wednesday, October 23, 2002 10:46 PM
How to set ORB timeout? I did it this way. But it doesn't work.
Properties orbProps = new Properties();
String[] ORBInitArgs = new String[1];
ORBInitArgs[0] = "";
orbProps.setProperty("ORBtcpTimeout", "10");
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(ORBInitArgs, orbProps);
obj = orb.string_to_object(ior_string);