I am using CORBA (ORB) which natively comes with Java, no third party libraries are used.
I'm in need of the CORBA client Properties for timeouts, in order set a timeout on the client's side and limit the amount of time which the connection stays open; it should be set for all scenarios, to limit the maximum request time:
Initializing connection
Rebinding a connection
The total request time
I am testing by putting a sleep on the Server (within the server method logic), and the client is not timing out at all.
It is very difficult to find the appropriate documentation on the web; I have attempted using all the below properties, to no avail:
aProperties.put("com.sun.CORBA.transport.ORBTCPReadTimeouts", "100:300:3000:20"); aProperties.put("com.sun.corba.eetransport.ORBTCPTimeouts", "500:2000:50:1000"); aProperties.put("com.sun.corba.ee.transport.ORBWaitForResponseTimeout", 10);
For more clarity, next to these properties (above) are set the Host and Port using properties org.omg.CORBA.ORBInitialHost and org.omg.CORBA.ORBInitialPort.
Any help is appreciated :)