java.net.SocketException: Resource temporarily unavailable

David Hanney dh at digitalbrain.com
Mon Nov 3 07:44:18 PST 2003


I'm running
"FreeBSD pizza.house 4.9-RC FreeBSD 4.9-RC #32: Thu Oct  2 20:27:33 BST 
2003 dave at pizza.house:/usr/obj/usr/src/sys/GENERIC  i386"
and "/var/db/pkg/jdk-1.3.1p8_2"
(which I built from /usr/ports/ yesterday).

java.io.InputStream.read() often causes
"java.net.SocketException: Resource temporarily unavailable"
when I'd expect it to block.

This issue is also documented here
http://www.geocrawler.com/archives/3/162/2000/4/0/3640547/
along with an ugly work-around.

Is this ugly work-around still the state-of-the-art for reading from
FreeBSD/java InputStreams?

thanks in advance!

DH




More information about the freebsd-java mailing list