Filesharing Application crashes

Home Forums PeerfactSim Forum Filesharing Application crashes

This topic contains 1 reply, has 1 voice, and was last updated by  Matthias Feldotto 3 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #979

    dbn

    I used the FS32Chord.xml config file for testing the filesharing
    application. After some time the simulation crashes with the following
    ouput:
    2011-12-03 18:29:38,113 ERROR [Simulator – 198]- Simulation finished
    with the error = null
    2011-12-03 18:29:38,113 INFO [Simulator – 203]- Realtime Duration of
    experiment (m:s) 0:11
    2011-12-03 18:29:38,113 INFO [Simulator – 205]- Simulated time is
    2:1:13:551 (H:m:s:ms)
    java.lang.IllegalArgumentException: Transport protocol TCP not
    supported by this NetLayer implementation.
    at
    de.tud.kom.p2psim.impl.network.modular.ModularNetLayer.send(ModularNetLayer.java:
    208)
    at
    de.tud.kom.p2psim.impl.transport.DefaultTransLayer.sendTransportMsg(DefaultTransLayer.java:
    253)
    at
    de.tud.kom.p2psim.impl.transport.DefaultTransLayer.sendReply(DefaultTransLayer.java:
    261)
    at
    de.tud.kom.p2psim.impl.overlay.dht.chord.chord.components.ChordMessageHandler.messageArrived(ChordMessageHandler.java:
    324)at
    de.tud.kom.p2psim.impl.transport.DefaultTransLayer.receive(DefaultTransLayer.java:
    165)
    at
    de.tud.kom.p2psim.impl.transport.DefaultTransLayer.messageArrived(DefaultTransLayer.java:
    133)
    at de.tud.kom.p2psim.impl.network.modular.ModularNetLayer
    $ReceiveContextImpl.arrive(ModularNetLayer.java:311)
    at
    de.tud.kom.p2psim.impl.network.modular.st.trafCtrl.InfiniteTrafficQueue
    $2.eventOccurred(InfiniteTrafficQueue.java:140)
    at
    de.tud.kom.p2psim.impl.simengine.Scheduler.processNextEvent(Scheduler.java:
    233)
    at de.tud.kom.p2psim.impl.simengine.Scheduler.start(Scheduler.java:
    156)
    at de.tud.kom.p2psim.impl.simengine.Simulator.start(Simulator.java:
    174)
    at
    de.tud.kom.p2psim.impl.util.guirunner.impl.SimulationThread.run(SimulationThread.java:
    68)

    I used the newest version of the simulator and did not alter any file.
    Has anyone a idea why this happens?

    #980

    Matthias Feldotto

    As you can see in the error message “Transport protocol TCP not supported by this NetLayer implementation.”

    All these configurations for the filesharing application (in the folder application-filesharing2) support two different Netlayers: ModularNetLayer and GnpNetLayer. The modular network Layer is set as default one, but you can switch it with the variable. Unfortunately, this version of the modular layer is not compatible with TCP wihch is used by the application.

    The easiest way to run these configuration is the use of the GNP network layer. You only have to change the variable NetLayer in the GUIRunner (where you choose the configuration file) from “Mod” to “GNP” and then all simulations should run without errors.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed