Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2012 22:33:02 -0400
From:      George Neville-Neil <gnn@neville-neil.com>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        Waitman Gobble <uzimac@da3m0n8t3r.com>, current@FreeBSD.org
Subject:   Re: Java and NIO?
Message-ID:  <49BAAAB5-BF68-43B3-8D7C-B4E49DE29ED3@neville-neil.com>
In-Reply-To: <2244ACD7-892A-4CA7-90B1-FFF41AF6B317@FreeBSD.org>
References:  <86hatodavd.wl%gnn@neville-neil.com> <1341340703.6639@da3m0n8t3r.com> <20120704194917.GA15426@misty.eyesbeyond.com> <2244ACD7-892A-4CA7-90B1-FFF41AF6B317@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail


On Jul 5, 2012, at 10:38 , George Neville-Neil wrote:

> 
> On Jul 4, 2012, at 15:49 , Greg Lewis wrote:
> 
>> On Tue, Jul 03, 2012 at 11:38:23AM -0700, Waitman Gobble wrote:
>>> gnn@freebsd.org wrote ..
>>>> Howdy,
>>>> 
>>>> Can someone tell me if anyone is working on this Java NIO bug?
>>>> 
>>>> http://freebsd.1045724.n5.nabble.com/i386-159787-openjdk-1-6-nio-muti-thread-bug-td4700530.html
>>>> 
>>>> I would like to avoid using Linux just to run Zookeeper:
>>>> 
>>>> http://zookeeper-user.578899.n2.nabble.com/What-s-the-problem-with-nio-on-FreeBSD-td5208183.html
>>> 
>>> Hi George,
>>> 
>>> There is/was a patch from David Xu 
>>> http://lists.freebsd.org/pipermail/freebsd-java/2010-August/008747.html
>>> maybe this fixes it? 
>> 
>> 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=sun.nio.ch.KqueueSelectorProvider
>> makes no difference.
>> 
>>> also looks like New I/O was updated in jdk7... but would have to check it out to see if issue still exists..
>> 
>> 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.
>> 
>> I don't believe anyone is currently working on a fix for the openjdk6 port
>> for this.
> 
> I'm going to give zookeeper a try with openjdk7.
> 
> Thanks!
> 

A followup.  zookeeper is now ported to Freebsd (/usr/ports/devel/zookeeper)

Best,
George




help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49BAAAB5-BF68-43B3-8D7C-B4E49DE29ED3>