From owner-freebsd-java  Sun May 14  6:54:16 2000
Delivered-To: freebsd-java@freebsd.org
Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8])
	by hub.freebsd.org (Postfix) with ESMTP id C396037B743
	for <freebsd-java@FreeBSD.ORG>; Sun, 14 May 2000 06:54:12 -0700 (PDT)
	(envelope-from K.J.Koster@kpn.com)
Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204])
 by research.kpn.com (PMDF V5.2-31 #42699)
 with ESMTP id <01JPE99C5T0E000247@research.kpn.com> for
 freebsd-java@FreeBSD.ORG; Sun, 14 May 2000 15:54:10 +0200
Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21)
	id <KC7MMPRF>; Sun, 14 May 2000 15:54:08 +0100
Content-return: allowed
Date: Sun, 14 May 2000 15:54:07 +0100
From: "Koster, K.J." <K.J.Koster@kpn.com>
Subject: RE: Socket read problem in 1.2.2?
To: 'Ewout Kramer' <ewout@di.nl>, freebsd-java@FreeBSD.ORG
Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D7503@l04.research.kpn.com>
MIME-version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-type: text/plain;	charset="iso-8859-1"
Sender: owner-freebsd-java@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

> 
> Unfortunately, the same Tomcat setup that works under 1.1.8 
> does not work under 1.2.2, giving the following exception:
> 
> HANDLER THREAD PROBLEM: java.net.SocketException: Resource
> temporarily unavailable: Resource temporarily unavailable
>
As Greg says, this is a socket bug in the current JDK port. I have included
a description of this problem on my web site:

  http://web.inter.nl.net/users/kjkoster/java/index.html

Click on the heading "java.net.SocketException: Resource temporarily
unavailable" in the left bar. This will show you how to reproduce the
problem with a very simple echo server, as well as a workaround that limits
the solution space considerably.

The code was provided by Taso Lyristis. Thanks Taso.

> 
> Hope I'm not bothering you too much!
> 
On the contrary. We need all the problem reports we can get. You are very
helpful.

    Kees Jan

==============================================
 You are only young once,
      but you can stay immature all your life


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message