From owner-freebsd-current@FreeBSD.ORG Mon Jul 9 02:33:05 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E370106566C for ; Mon, 9 Jul 2012 02:33:05 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) by mx1.freebsd.org (Postfix) with ESMTP id 4BAA38FC16 for ; Mon, 9 Jul 2012 02:33:05 +0000 (UTC) Received: from pool-96-250-5-62.nycmny.fios.verizon.net ([96.250.5.62]:54188 helo=minion.home) by vps.hungerhost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1So3mZ-0000rY-4D; Sun, 08 Jul 2012 22:33:03 -0400 Mime-Version: 1.0 (Apple Message framework v1280) Content-Type: text/plain; charset=us-ascii From: George Neville-Neil In-Reply-To: <2244ACD7-892A-4CA7-90B1-FFF41AF6B317@FreeBSD.org> Date: Sun, 8 Jul 2012 22:33:02 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <49BAAAB5-BF68-43B3-8D7C-B4E49DE29ED3@neville-neil.com> References: <86hatodavd.wl%gnn@neville-neil.com> <1341340703.6639@da3m0n8t3r.com> <20120704194917.GA15426@misty.eyesbeyond.com> <2244ACD7-892A-4CA7-90B1-FFF41AF6B317@FreeBSD.org> To: Greg Lewis X-Mailer: Apple Mail (2.1280) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - neville-neil.com Cc: Waitman Gobble , current@FreeBSD.org Subject: Re: Java and NIO? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2012 02:33:05 -0000 On Jul 5, 2012, at 10:38 , George Neville-Neil wrote: >=20 > On Jul 4, 2012, at 15:49 , Greg Lewis wrote: >=20 >> On Tue, Jul 03, 2012 at 11:38:23AM -0700, Waitman Gobble wrote: >>> gnn@freebsd.org wrote .. >>>> Howdy, >>>>=20 >>>> Can someone tell me if anyone is working on this Java NIO bug? >>>>=20 >>>> = http://freebsd.1045724.n5.nabble.com/i386-159787-openjdk-1-6-nio-muti-thre= ad-bug-td4700530.html >>>>=20 >>>> I would like to avoid using Linux just to run Zookeeper: >>>>=20 >>>> = http://zookeeper-user.578899.n2.nabble.com/What-s-the-problem-with-nio-on-= FreeBSD-td5208183.html >>>=20 >>> Hi George, >>>=20 >>> There is/was a patch from David Xu=20 >>> = http://lists.freebsd.org/pipermail/freebsd-java/2010-August/008747.html >>> maybe this fixes it?=20 >>=20 >> This patch was incorporated into the openjdk6 port soon after it was >> posted. However, I can still reproduce the problem. Using >> = -Djava.nio.channels.spi.SelectorProvider=3Dsun.nio.ch.KqueueSelectorProvid= er >> makes no difference. >>=20 >>> also looks like New I/O was updated in jdk7... but would have to = check it out to see if issue still exists.. >>=20 >> I can't reproduce the problem with the current openjdk7 port. I = haven't >> tried out Zookeeper though, so YMMV. I would say it's definitely = worth >> a try though. >>=20 >> I don't believe anyone is currently working on a fix for the openjdk6 = port >> for this. >=20 > I'm going to give zookeeper a try with openjdk7. >=20 > Thanks! >=20 A followup. zookeeper is now ported to Freebsd = (/usr/ports/devel/zookeeper) Best, George