From owner-freebsd-java@FreeBSD.ORG Mon Nov 3 07:44:18 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D62B116A4D0 for ; Mon, 3 Nov 2003 07:44:18 -0800 (PST) Received: from blackfriars.digitalbrain.com (mail.digitalbrain.com [217.154.108.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F3F343FBF for ; Mon, 3 Nov 2003 07:44:16 -0800 (PST) (envelope-from dh@digitalbrain.com) Received: from localhost (localhost [127.0.0.1]) by blackfriars.digitalbrain.com (Postfix) with ESMTP id C5E9220D913 for ; Mon, 3 Nov 2003 15:44:14 +0000 (GMT) Received: from blackfriars.digitalbrain.com ([127.0.0.1]) by localhost (blackfriars [127.0.0.1:10024]) (amavisd-new) with ESMTP id 26559-01 for ; Mon, 3 Nov 2003 15:44:12 +0000 (GMT) Received: from digitalbrain.com (unknown [217.154.88.242]) by blackfriars.digitalbrain.com (Postfix) with ESMTP id A3DB620D90A for ; Mon, 3 Nov 2003 15:44:11 +0000 (GMT) Message-ID: <3FA677C1.30103@digitalbrain.com> Date: Mon, 03 Nov 2003 15:44:01 +0000 From: David Hanney User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20021227-p2 (Debian) Subject: java.net.SocketException: Resource temporarily unavailable X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dh@digitalbrain.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2003 15:44:18 -0000 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