Setting timeout property in java client using corba
807588Apr 13 2009 — edited Jun 30 2009Hi all,
We are facing a problem regarding corba timeout. We have a java based client (jdk 1.5), which connects to a cpp server using corba. Now we want to set a timeout at client side if some call takes a long to come back (due to TCP/IP connection problem or any other reason). We are using borland's visibroker and implemented their 'RelativeRequestTimeoutPolicy' policy but it gives an exception like this : org.omg.CORBA.PolicyError: There is no PolicyFactory Registered for type 31
I have searched this forum for the same but could not find any particular solution or may be I was unable to find that. Can anyone please help regarding this issue? Is there any SUN specified property that can be used? What is the use of 'com.sun.CORBA.transport.ORBTCPReadTimeouts'? Can anyone help?.