From owner-freebsd-java Thu May 11 8:41:40 2000 Delivered-To: freebsd-java@freebsd.org Received: from wodan.di.nl (node12b46.a2000.nl [24.132.43.70]) by hub.freebsd.org (Postfix) with ESMTP id BE54037BC4D for ; Thu, 11 May 2000 08:41:25 -0700 (PDT) (envelope-from ewout@di.nl) Received: from gcc (gcc.wodan.di.nl [192.168.0.128]) by wodan.di.nl (Postfix) with SMTP id A7CEF112AC for ; Wed, 10 May 2000 21:33:02 +0200 (CEST) From: "Ewout Kramer" To: Subject: Socket read problem in 1.2.2? Date: Wed, 10 May 2000 21:22:58 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello there! I installed the JDK 1.2.2 alpha yesterday, and decided to give it a big test with one of my favorites: The JSP/Servlet server Tomcat v3.1 (from the Apache team). 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 java.net.SocketException: Resource temporarily unavailable: Resource temporarily unavailable at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:90) at java.io.BufferedInputStream.fill(BufferedInputStream.java:190) at java.io.BufferedInputStream.read(BufferedInputStream.java:208) at org.apache.tomcat.service.connector.AJP12RequestAdapter.readNextRequest(Ajp1 2ConnectionHandler.java:191) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Ajp12ConnectionHandler.java:127) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:334 ) at java.lang.Thread.run(Thread.java:479) I do not know anything about the internals of Tomcat, but since it was written for JDK 1.2.2 (with backward compat for 1.1.x) and does work fine under the official FreeBSD JDK1.1.8, I assume that something could be wrong here. Hope I'm not bothering you too much! Regards, Ewout (I am available for any extra info you might need) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message