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