Socket exceptions using jdk1.7 OS X Leopard
Landon Fuller
landonf at plausiblelabs.com
Fri Aug 22 10:10:07 PDT 2008
On Aug 21, 2008, at 10:18 AM, Nicholas Shanny wrote:
> Hi there,
>
> I am seeing some errors like the one below when trying to start
> tomcat. It works using the Apple 1.6_03 version, but not this
> version. It also works with the soylatte (1.6.0_03-p3) version as
> well.
I'm super busy and I haven't had time to track down the issue, but the
reproduction case is pretty simple:
import java.net.ServerSocket;
public class Socket {
public static void main (String args[]) throws Exception {
ServerSocket s = new ServerSocket(8080);
s.accept();
}
}
DTrace output (see attached dtrace -s script):
CPU ID FUNCTION:NAME
1 17804 listen:entry listen(11, 50)
1 17805 listen:return ret: 0 errno: 0
1 17778 select:entry select(12, b00508e0, 0, 0)
1 17779 select:return ret: -1 errno: 22
-------------- next part --------------
A non-text attachment was scrubbed...
Name: select.dt
Type: application/octet-stream
Size: 803 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20080822/455445b3/select.dt
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20080822/455445b3/PGP.sig
More information about the bsd-port-dev
mailing list