JAVA NIO SOCKET -> Nothing OUT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux