Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Setting timeout property in java client using corba

807588Apr 13 2009 — edited Jun 30 2009
Hi 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?.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 28 2009
Added on Apr 13 2009
6 comments
767 views