From: Mirco M. <m.m...@cs...> - 2007-02-12 10:58:45
|
Hi all, I am testing the implementation of CAR with 4 machines and unfortunately I discovered that Haggle crashes with more than 2 machines. I have no problems in running Haggle with 2 machines. This is not related to the implementation of the protocol -- I disabled it for test the platform. The problem happens when I disconnect the radio interface of one machine to simulate intermittent connectivity. I follow the instructions that Jing gave me about the fact that you need to disable and re-enable the WiFi interface when you start again Haggle due to the implementation of the WiFi driver. So I follow this procedure: 1. I stop Haggle in Eclipse 2. I disable and re-enable the WiFi interface 3. I start again Haggle And then unfortunately I get the following error: ResourceManager run thread EXITING due to error java.lang.ClassCastException: haggle.connectivity.wifi.AdHocNeighbour @ haggle.manager.defaults.DefaultResourceManager.run(DefaultResourceManager.java:240) java.lang.ClassCastException haggle.connectivity.wifi.AdHocNeighbour haggle.connectivity.wifi.WiFiConnectivity.idle(WifiConnectivity.java:244), haggle.manager.defaults.DefaultResourceManager.run(DefaultResourceManager.java:228), java.lang.Thread.run(Unknown Source) So it seems that the problem is in the Resource Manager and/or in one the class that it relies on. Do you have any suggestion? Do you have any experience about problems with more than 2 machines? I really appreciate your help and suggestions. Thanks, Mirco -- Mirco Musolesi Dept. of Computer Science, University College London Gower Street London WC1E 6BT United Kingdom Phone: +44 20 7679 0391 Fax: +44 20 7387 1397 Web: http://www.cs.ucl.ac.uk/staff/m.musolesi |