JAVA NIO SOCKET -> Nothing OUT

Ben Stringer ben at burbong.com
Mon Jun 4 10:24:39 UTC 2007


On Sun, 2007-06-03 at 12:19 -0600, Lance Drake wrote:
> Hi Fred,
> 
> 
> For sure this is not a JBOSS problem - it's a JAVA SOCKET PROBLEM on
> FEDORA 
> 
> 
> On the PC box running Fedora - no characters leave the ENET channel -
> on a Mac running MacOSX - all works as expected. 
> 
> 
> 
> 
> ESSENTIALLY:   SocketChannel myvar;
> 
> 
> myvar = SocketChannel.open(new java.net.InetSocketAddress(addr,port));
> 
> 
> myvar.write(buffer);
> 
> 
> (delay inserted here for debug to make sure socket not closed too
> soon)
> 
> 
> myvar.close();
> 
> 
> 
> 
> The PC Box running Fedora has no other ENET problems - JBOSS server
> I/O, browser, FTP, etc  - all is working fine.  
> 
> 
> The WIRESHARK idea would be cool - but nothing is leaving the OS and
> being deposited into the ENET port to even get to a wire.
> 
> 
>  But I THANK YOU for responding to my post.   Perhaps there is some
> other factor or situation I can look at.

Hi Lance,

I encountered this NIO bug back in FC3 - not sure which version of
Fedora you are using, or if this is the same problem, but this may be
helpful.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5056395

Cheers, Ben






More information about the fedora-list mailing list