Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Nov 2003 15:44:01 +0000
From:      David Hanney <dh@digitalbrain.com>
To:        freebsd-java@freebsd.org
Subject:   java.net.SocketException: Resource temporarily unavailable
Message-ID:  <3FA677C1.30103@digitalbrain.com>

next in thread | raw e-mail | index | archive | help
I'm running
"FreeBSD pizza.house 4.9-RC FreeBSD 4.9-RC #32: Thu Oct  2 20:27:33 BST 
2003 dave@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FA677C1.30103>