From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 23606 invoked from network); 7 Oct 1998 10:31:51 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 7 Oct 1998 10:31:51 -0000 Received: from voicenet.com (mail11.voicenet.com [207.103.0.37]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id GAA27426 for ; Wed, 7 Oct 1998 06:27:35 -0400 Received: (qmail 6031 invoked from network); 7 Oct 1998 10:27:34 -0000 Received: from rotary947-pri.voicenet.com (HELO voicenet.com) (209.71.52.47) by mail11.voicenet.com with SMTP; 7 Oct 1998 10:27:34 -0000 Message-ID: <361B4229.6EC13EF6@voicenet.com> Date: Wed, 07 Oct 1998 06:27:54 -0400 From: Uncle George Organization: None Avail X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Incompatibility between Alpha JDK and Intel JDK References: <19981006222230.A29054@xcski.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit i will be goin to canada for approx the next 2 weeks. If i get time, i'll see why the molecule demo program that came with 117 doesn't work. gat Paul Tomblin wrote: > I have code that works fine on Intel Linux with the Blackdown JDK port, and > works fine on NT and Solaris with the "real" JDK, but on Alpha it doesn't work > quite right. > > java -version > java version "gat:05/12/98-02:14" > > The object in question is a Runnable that the run method loops doing a > ServerSocket.accept(), and then spawns up subthreads to do something with the > incoming connection. I have an RMI method to allow a client program to > shutdown that connection by calling Thread.stop(). But if I try and start it > again (which creates a new instance of Thread with this object, and does a > Thread.start() on that Thread), I get a "java.net.BindException: Address > already in use". This tells me that in spite of the fact that the thread was > stopped, the ServerSocket.accept() is still out there tying up the socket. I > even tried calling Thread.join() after Thread.stop() to make sure that the > thread was really stopped. But no luck. > > If you need help tracking this down, I could try writing a simple test > program, but I'm writing about this in case you know of the problem and have a > simple solution. > > Other than this, the JDK version I'm using is pretty solid and seems very > compatible with the other JDKs I'm using. Even does Swing fine (after I > realized that the problems I was having with pop-ups was due to how sucky > fvwm2 was and switched to Window Maker) >