Native Socket Error On OS X (BSDs)

Michael Franz mvfranz at gmail.com
Sat Dec 20 17:28:27 PST 2008


Hi,

I have been getting this error when running different applications under the
OpenJDK for OS X.
Dec 20, 2008 8:20:33 PM sun.rmi.transport.tcp.TCPTransport$AcceptLoop
executeAcceptLoop
WARNING: RMI TCP Accept-0: accept loop for ServerSocket[addr=
0.0.0.0/0.0.0.0,port=0,localport=56982] throws
java.net.SocketException: Invalid argument
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at
java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:364)
    at java.net.ServerSocket.implAccept(ServerSocket.java:513)
    at java.net.ServerSocket.accept(ServerSocket.java:481)
    at
sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:387)
    at
sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:359)
    at java.lang.Thread.run(Thread.java:713)

I am not sure what is initiating this error.  I am running tests with TestNG
that is doing JDBC calls, using ActiveMQ and QuickFIX/J.  All using tcp
sockets.

Doing some research it seems that there might be some general problem with
BSD sockets that causes this problem:
http://lists.apple.com/archives/macnetworkprog/2008/Aug/msg00063.html

Is anyone familiar with this issue?

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20081220/dbb622c8/attachment.html 


More information about the bsd-port-dev mailing list