From: Ngo C. C. <cuo...@gm...> - 2009-04-14 11:45:37
|
Hello, Could you tell me with version of jpcap and jdk you currently use with Pyxida ? Because I've tried compiling with jpcap 0.5.1 source and there's some errors with (with the lastest code of pyxida), I tried the jpcap.rar file (I dont know what version it is) on the CVS repository, no error on compiling but there's a runtime error : "Exception in thread "Thread-2" java.lang.NoSuchMethodError: setRoutingOption at jpcap.JpcapCaptor.nativeOpenLive(Native Method) at jpcap.JpcapCaptor.openDevice(JpcapCaptor.java:68) at edu.harvard.syrah.pyxida.ping.JpcapPinger$1.run(JpcapPinger.java:107) I tried with both jpcap 0.6 and 0.7 on its site but there's the same error. (I use jdk1.6.0_13). Thank you very much for your help. Jonathan Ledlie wrote: > > Yeah, that's not going to work as is. We've asked a student at Tsinghua > to fix it, but you are welcome to give it a crack. In the meantime, UDP > should work. > > -jonathan > > On Apr 7, 2009, at 4:36 PM, Cao Cuong Ngo wrote: > >> I've tried using the version 0.1.5 on the site(both binary and >> compiling from code) and it doesn't work with Java 1.5 (only work with >> 1.6). >> The version 0.1.4 worked with Java 1.5 and jpcap 0.5.1 but the same >> error SendTS > RecvTS happened to me as 0.1.5. >> I've also tried with application ping but Vivaldi never converges >> because of the instability of rtt measurements. >> >> Thank you, >> Cuong. >> >> 2009/4/7, Jonathan Ledlie <jon...@ee...>: >>> >>> Using Java 1.5 and jpcap 0.5.1 worked, IIRC. >>> >>> I'd recommend using UDP if possible for the time being. >>> >>> Another Pyxida user is looking into a fix, but if you find one, that >>> would be great. We haven't looked and I doubt it is a major >>> incompatability. >>> >>> -jonathan >>> >>> On Apr 7, 2009, at 9:27 AM, Peter Pietzuch wrote: >>> >>>> Ngo Cao Cuong wrote: >>>>> I haven't found where we can fix it yet but I'll try. >>>>> At the moment could you tell me which configuration (of pyxida, jdk, >>>>> jpcap) we can implement stably on PlanetLab? >>>> >>>> Jon, what was the last version that ran successfully on PlanetLab >>>> with pcap? >>>> >>>> Cheers, >>>> Peter >>>> >>>>> Peter Pietzuch wrote: >>>>>> Ngo Cao Cuong wrote: >>>>>> >>>>>>> Thank you for your answer. >>>>>>> I installed java 1.6.0_13, I tried jpcap 0.5.1, it did work but >>>>>>> everytime the RecvTS is much bigger than SendTS so the latency is >>>>>>> very >>>>>>> big (like 124535363633), so every node one planetlab update with >>>>>>> [0,0,0,0] >>>>>>> >>>>>> This is the correct version to use. We are aware of the bug with >>>>>> Java >>>>>> 1.6 and the recvTS/sendTS timestamps but haven't fixed it yet. I >>>>>> think >>>>>> it has something to do with the fact that the resolution of >>>>>> nanoTime has >>>>>> changed in Java 1.6. Can you see if you can fix it? >>>>>> >>>>>> Cheers, >>>>>> Peter >>>>>> >>>>>> >>>>>>> Peter Pietzuch wrote: >>>>>>> >>>>>>>> Hello, >>>>>>>> >>>>>>>> Ngo Cao Cuong wrote: >>>>>>>> >>>>>>>>> Well finally I solved this problem (because we need to install >>>>>>>>> java 1.6 >>>>>>>>> instead of 1.5!) but there is always an error with jpcap >>>>>>>>> "exception in >>>>>>>>> thread"thread-2" java.lang.nosSuchMethodError: setRoutingOption >>>>>>>>> at jpcap.JpcapCaptor.nativeOpenLive(Native Method) >>>>>>>>> at jpcap.JpcapCaptor.openDevice(JpcapCaptor.java:68) >>>>>>>>> at edu.harvard.syrah.pyxida.ping.JpcapPinger >>>>>>>>> $1.run(JpcapPinger.java:95) >>>>>>>>> >>>>>>>> This seems like a version conflict between the Java jpcap >>>>>>>> library and >>>>>>>> the pcap installation on your machine. Can you check the versions? >>>>>>>> >>>>>>>> Cheers, >>>>>>>> Peter >>>>>>>> >>>>>>>> >>>>>>>>>> Hello, >>>>>>>>>> >>>>>>>>>> I've tried to run 0.1.5 but there is always an error: >>>>>>>>>> "Exception in thread "main" >>>>>>>>>> java.lang.UnsupportedClassVersionError: Bad >>>>>>>>>> version number in .class file" >>>>>>>>>> >>>>>>>>>> I've tried to run 0.1.4 too , it did run but sometimes there >>>>>>>>>> is some >>>>>>>>>> nodes quit the network with the error of JPcap "RecvTS < >>>>>>>>>> SendTS" ??? >>>>>>>>>> (error on the assert RecvTS > SendTS) >>>>>>>>>> >>>>>>>>>> Anyone can help me? >>>>>>>>>> >>>>>>>>>> Thank you, >>>>>>>>>> Ngo Cao Cuong >>>>>>>>>> INRIA Sophia Antipolis, France. >>>>>>>>>> >>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>> >>>>>>>>> This SF.net email is sponsored by: >>>>>>>>> High Quality Requirements in a Collaborative Environment. >>>>>>>>> Download a free trial of Rational Requirements Composer Now! >>>>>>>>> http://p.sf.net/sfu/www-ibm-com >>>>>>>>> _______________________________________________ >>>>>>>>> Pyxida-users mailing list >>>>>>>>> Pyx...@li... >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/pyxida-users >>>>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> >>>>> This SF.net email is sponsored by: >>>>> High Quality Requirements in a Collaborative Environment. >>>>> Download a free trial of Rational Requirements Composer Now! >>>>> http://p.sf.net/sfu/www-ibm-com >>>>> _______________________________________________ >>>>> Pyxida-users mailing list >>>>> Pyx...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/pyxida-users >>>> >>>> >>>> -- >>>> Dr Peter R Pietzuch >>>> Department of Computing, Imperial College London >>>> South Kensington Campus, 180 Queen's Gate, London SW7 2AZ, UK >>>> Telephone: +44 (20) 7594 8314 http://www.doc.ic.ac.uk/~prp >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> This SF.net email is sponsored by: >>>> High Quality Requirements in a Collaborative Environment. >>>> Download a free trial of Rational Requirements Composer Now! >>>> http://p.sf.net/sfu/www-ibm-com >>>> _______________________________________________ >>>> Pyxida-users mailing list >>>> Pyx...@li... >>>> https://lists.sourceforge.net/lists/listinfo/pyxida-users >>> >>> >> >> ------------------------------------------------------------------------------ >> >> This SF.net email is sponsored by: >> High Quality Requirements in a Collaborative Environment. >> Download a free trial of Rational Requirements Composer Now! >> http://p.sf.net/sfu/www-ibm-com >> _______________________________________________ >> Pyxida-users mailing list >> Pyx...@li... >> https://lists.sourceforge.net/lists/listinfo/pyxida-users > |