Skip to Main Content

Java APIs

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!

v1.5 ORB Setting Timeout values

843793Jan 5 2006 — edited Jun 26 2006
Is it possible to set the timeout values used by the Java ORB?
I can�t find any information about it�
I know that in version 1.4.x was impossible.

I tried this with different values, but no success�
// transport read tcp timeout property, colon separated property 
// with syntax <initial time to wait:max read giop header time to
// wait: max read message time to wait:backoff factor>
properties.put( "com.sun.CORBA.transport.ORBTCPReadTimeouts", "0:0:0:0");
orb = ORB.init(args, properties);
I know the values are passed to the ORB properties (debug in eclipse), but the sockets created for the connections don�t use them�

Can some one please tell me how?

Ps: I know that JacORB offer this feature but I prefer continuing using the ORB offered by sun.

Thanks in advance!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 24 2006
Added on Jan 5 2006
5 comments
399 views