[ewg] Java use SDP problem

Nimrod Gindi nimrodg at mellanox.com
Tue Feb 27 19:22:14 PST 2007


Hi,

Can you share some more set up info?

Which OFED build are you using? What is your conf file content? Which
JVM being used? What is you Java application?

 

Feel free to reply directly to me and I'll assist you with it.

 

I saw such things with incorrect configured conf file and older OFED
versions.

nimrodg

 

________________________________

From: ewg-bounces at lists.openfabrics.org
[mailto:ewg-bounces at lists.openfabrics.org] On Behalf Of zhang Jackie
Sent: Tuesday, February 27, 2007 10:00 PM
To: openfabrics-ewg at openib.org
Subject: [ewg] Java use SDP problem

 

Hi,guys!

    I am trying to use netperf to measure the bandwidth of SDP. First, I
modprobe libsdp and addd LD_PRELOAD=libsdp.so before the
application,such as "LD_PRELOAD=libsdp.so netserver" and
"LD_PRELOAD=libsdp.so netperf  -H 10.5.0.171", all this work and I get
the right results.

   But When I use my Java Application to test, such exceptions are
reported:

java.net.SocketException: Network is unreachable
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) 
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java :266)
        at
cn.ac.ict.hla.jperf.ControlConnection.MakeControlConnection(ControlConne
ction.java:52)
        at cn.ac.ict.hla.jperf.Jnetperf.main(Jnetperf.java:41)
who can tell why this happen? thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20070227/516e09b3/attachment.html>


More information about the ewg mailing list