Mantis - Resin
Viewing Issue Advanced Details
1855 minor always 07-06-07 08:55 07-18-07 10:21
sam  
ferg  
urgent  
closed 3.0.21  
fixed  
none    
none 3.1.2  
0001855: Setting of socket timeouts fails on Solaris
(rep by T Corning)

I was 'truss'ing the JVM and see this when
it accepts connections on the HTTP Port:
20402/1069: setsockopt(112, tcp, TCP_NODELAY, 0xFFFFFFFE04BFEB10, 4, SOV_DEFAULT) = 0
20402/1069: setsockopt(112, SOL_SOCKET, SO_RCVTIMEO, 0xFFFFFFFE04BFEB18, 16, SOV_DEFAULT) Err#99 ENOPROTOOPT
20402/1069: setsockopt(112, SOL_SOCKET, SO_SNDTIMEO, 0xFFFFFFFE04BFEB18, 16, SOV_DEFAULT) Err#99 ENOPROTOOPT
20402/1069: getsockname(112, 0x1021890AC, 0xFFFFFFFE04BFEB34, SOV_DEFAULT) = 0

As you can see, both calls to set the timeout fail with ENOPROTOOPT,
which is "Protocol not available". This means that the timeout isn't
getting set.

There are no notes attached to this issue.