JAVA NIO SOCKET -> Nothing OUT
Lance Drake
lance at drake.org
Sun Jun 3 18:19:21 UTC 2007
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.
Best Wishes,
Lance Drake
>> Hi Fedora Folks,
>> Any idea why, when I successfully open a TCP:PORT connection -
>> write bytes into the port - wait PLENTY of time - Close Port -
>> that nothing leaves ? The exact same code (from within a
>> duplicate JBoss deployment situation) runs on my Mac system - but
>> does not work on Fedora... hmmmm... Any ideas on how to prove/
>> locate where the bytes-ball gets dropped? Thanks! Lance Drake
> Don't know the first thing about java/jboss/whatever. But if you
> can't get it working, you may wish to try sniffing the network
> itself with
> ethereal/wireshark. It can take a bit of effort to write a suitable
> filter rule to use with that program, but it also can be worth the
> trouble. it's a great tool.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070603/f09907e0/attachment-0001.htm>
More information about the fedora-list
mailing list