James,
Here is what I have seen so far:

   - /usr/ports/java/jdk16 - hangs on RpcTest - This is the option to build
   java from source on FreeBSD, it does require some patching.
   - /usr/ports/java/diablo-jdk16 - hangs on RpcTest - This is the pre-built
   binary licensed from sun for FreeBSD
   - /usr/ports/java/linux-sun-jdk16 - Ant fails the build because it is
   missing a function to copy a file - This is the official release of Java for
   linux running on the FreeBSD linux compatibility extensions. It is not the
   recommended build
   - /usr/ports/java/openjdk6 - Fails to build on my machine (too little
   heap memory).

Based on Tad's research I am starting to think this is a bug in the
integration between FreeBSD and Java.

I may reformat the box with a linux distro and see if my luck is any better.
A shame really, because I have had great success with FreeBSD in the past.

Thanks,
Dudley

On Sun, Dec 12, 2010 at 8:53 PM, James Purser <jamesrpur...@gmail.com>wrote:

> Dudley,
>
> Quick question, is the FreeBSD Java a Sun Java or OpenJDK?
>
> James
>
> On Mon, Dec 13, 2010 at 1:36 PM, Tad Glines <tad.gli...@gmail.com> wrote:
>
> > On Sat, Dec 11, 2010 at 8:22 PM, Tad Glines <tad.gli...@gmail.com>
> wrote:
> >
> > > On Sat, Dec 11, 2010 at 8:02 PM, Dudley Fox <dudley....@gmail.com>
> > wrote:
> > >
> > >> I don't know enough java to understand it, but here is the dump of
> > threads
> > >> and their stack traces:
> > >>
> > >
> > > Thanks for the stack trace. I see where it's hanging, but I'm not sure
> > why
> > > it's hanging.
> > > The Socket.IO flashsocket transport starts a thread listening on the
> > flash
> > > socket policy port (default 843). During shutdown, the code closes the
> > > listener socket, and the thread SHOULD get an
> AsynchronousCloseException
> > and
> > > exit. But it doesn't so the code hangs forever waiting for the listener
> > > thread to exit.
> > >
> > > What I don't understand is why the thread isn't getting the
> > > AsynchronousCloseException. I'll have to look into it.
> > >
> >
> > OK, I've confirmed the problem. I did some googling and found
> > this<
> >
> http://webcache.googleusercontent.com/search?q=cache:qdZFb022xw0J:forums.sun.com/thread.jspa%3FthreadID%3D5239612+asynchronouscloseexception+java+1.6.0_03&cd=4&hl=en&ct=clnk&gl=us
> > >
> > cached
> > link. It confirms that the problem exists on FreeBSD and java 1.6.0_03 as
> > far back as 2007.
> >
> > I'm not sure if this is a FreeBSD or a Java bug.
> >
> > -Tad
> >
>

Reply via email to