From owner-freebsd-java@FreeBSD.ORG Mon Mar 9 17:51:48 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AFDF1065688 for ; Mon, 9 Mar 2009 17:51:48 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp130.rog.mail.re2.yahoo.com (smtp130.rog.mail.re2.yahoo.com [206.190.53.35]) by mx1.freebsd.org (Postfix) with SMTP id C2F498FC1A for ; Mon, 9 Mar 2009 17:51:47 +0000 (UTC) (envelope-from mikej@rogers.com) Received: (qmail 4432 invoked from network); 9 Mar 2009 17:51:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Message-ID:In-Reply-To:References:Date:Subject:From:To:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:Importance; b=qcRV4l+UOQz12MMk7JvhADxzdBjo5r/JV1NwRASUnub1aJ6LQ42HcFY1WA6oV5RsYkbZ2HvzgZW6XfclH+RaOyNZYgOU/9NqgF7xGs9dg4p2kuMa9uZ/A2KysYieWJBCj7tQZaNCtmXXlKWAORDFqWW1R/ZjA25Zk75OyCeQ1CQ= ; Received: from unknown (HELO wettoast.dyndns.org) (mikej@99.227.104.169 with login) by smtp130.rog.mail.re2.yahoo.com with SMTP; 9 Mar 2009 17:51:47 -0000 X-YMail-OSG: NDvpSfoVM1kZrAocKSn0NMdqVuao7gvhov7jf4MwiBr1unxeDUtZemrx.OkE8gEhKQ-- X-Yahoo-Newman-Property: ymail-3 Received: from 38.99.187.34 (SquirrelMail authenticated user mikej) by wettoast.dyndns.org with HTTP; Mon, 9 Mar 2009 13:51:51 -0400 (EDT) Message-ID: In-Reply-To: References: Date: Mon, 9 Mar 2009 13:51:51 -0400 (EDT) From: "Mike Jakubik" To: freebsd-java@freebsd.org User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: Problem with Java NIO (java.nio.channels.IllegalBlockingModeException) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2009 17:51:50 -0000 I suspect this may have something to do with the following bug. http://www.freebsd.org/cgi/query-pr.cgi?pr=java/105482 I will try switching to the linux jdk to see if the problem persists. On Mon, March 9, 2009 12:29 pm, Mike Jakubik wrote: > Greetings java users, > > I have been experiencing a randomly occurring problem with one of my java > applications. The application is question is a simple network chat > service, used with an online flash game. This application is known to have > worked without this problem on Linux for over 2 years now, in multiple > deployments. This leads me to believe that either the Linux JDK/network is > lax on error checks or there is a problem with the FreeBSD JDK/network > implementation. Below is the error that causes the application to stop > responding to network requests. > > --- > INFO | jvm 1 | 2009/03/08 21:04:25 | Exception in thread "Thread-0" > java.nio.channels.IllegalBlockingModeException