|
From: Yue S. <sch...@gm...> - 2009-08-31 10:39:24
|
Hi there,
I wanted to run a simulation of 10000 nodes remotely on the Tres computer,
but I have some problem running the compiled program of Peerfactsim-project:
My program runs without problem in eclispe on my laptop. But I want to copy
the compiled files and run it on Tres.
At first, I copied the whole project to Tres,
then I go to the root folder of the project : PeerfactSim.KOM-Main
>From there I run:
java -classpath ./bin;./lib/commons-math-1.1.jar
de.tud.kom.p2psim.SimulatorRunner config/chord.xml
I was told that this command is not in correct form.
I've no idea where the error was...
----------------------------------------------------------------------------------------
Later I tried to export the Peerfactsim-project to a runnable jar file.
I uesed the Export function of eclipse.
but when I run the Jar file, I was told:
log4j:WARN No appenders could be found for logger
(de.tud.kom.p2psim.impl.simengine.Simulator).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
at
de.tud.kom.p2psim.SimulatorRunner.parseVariables(SimulatorRunner.java:351)
at de.tud.kom.p2psim.SimulatorRunner.main(SimulatorRunner.java:338)
Can anyone tell me how to generate a runnable file of the simulator ?
Thanks in advance!
Yue
|