Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6457066
Votes 0
Synopsis SocketTimeoutException : Timing out early
Category java:classes_net
Reported Against b03
Release Fixed 7(b03), 5.0u11(b01) (Bug ID:2140694) , 6u2(b01) (Bug ID:2141225)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs
Submit Date 04-AUG-2006
Description
Hits java.net.SocketTimeoutExceptions upon trying to make a connection.
Timeout of 5000 ms is set, but the connection attempt fails in much less time than this. 

This happens on a socket taking a long time to connect and the thread getting interrupted. 
This behavior is seen in production, where the socket was
timing out much earlier than expected.
Posted Date : 2006-08-04 06:49:34.0
Work Around
N/A
Evaluation
This problem is unlikely to occur that often in the field but is indeed an issue. The suggested fix in the comments section seems reasonable.
Posted Date : 2006-08-04 07:51:24.0

Update native code to work out the time spent in the "retry connect" loop correctly.
Posted Date : 2006-08-23 10:49:17.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang