refoman / d-p2p-sim

Automatically exported from code.google.com/p/d-p2p-sim
0 stars 0 forks source link

When running for the first time with unmodified config and simulation xml files no GUI shows #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Follow the steps outlined in the wiki installation guide to get all the 
necessary files/setup the directory structure.
2. Rename Art-config.xml to config.xml
3. From the command line, run java -jar d-p2p-sim.jar --gui

What is the expected output? What do you see instead?
I expect to see some info messages about reading the configuration followed 
by a GUI showing up.

Instead, I see:

Reading Configuration...Ignoring GUI support. Available only for standalone 
exec
ution.done

Cluster Inforamtion --1--

        AppNode
                Id        1
                Percent   50%
                IpAddr    192.168.1.100
                MinPeerId 1
                MaxPeerId 500
        AppNode
                Id        2
                Percent   50%
                IpAddr    192.168.1.102
                MinPeerId 501
                MaxPeerId 1000
Simulation --0--

        ProtocolPackage     Art.jar
        OverlayPeers        1000
        OverlayKeys         140000
        LookupQueries       100
        LookupDistribution  UNIF
        InsertQueries       100
        InsertDistribution  BETA
        DeleteQueries       100
        DeleteDistribution  POWL
        ReportName          Art-sim-1

Initializing Simulator...done
Loading Protocol...done

What version of the product are you using? On what operating system?
Whatever the current version is at the time of this issue being lodged.

Please provide any additional information below.
I've read the paper about this simulator, and it sounds like a great tool 
designed to address some serious shortcomings in other tools.  Still, I'm 
having a lot of trouble getting the thing up and running!  Any help is much 
appreciated.

Original issue reported on code.google.com by mongrelu...@gmail.com on 16 Apr 2010 at 8:18

GoogleCodeExporter commented 9 years ago

Download the respective config file and rename it. 
For example:
download art-simulation.xml and art-config.xml
Rename the file art-config.xml --> config.xml 

Edit the file config.xml in order to set:
a) the IP address of the computer for simulation (1 or more)
b) set the nodes of the distributed simulator (1 is minimum) 
(default is 2 please comment the second node in order to execute in a single 
computer) (See example in the configuration guide 
http://code.google.com/p/d-p2p-sim/wiki/Configuration_Guide)
Note that in the example of the configuration guide 1 node is enable and the 
second is commented out (notice red lines)

c) verify that art-simulation.xml is mentioned as the simulation file in the 
xml config file.

Original comment by sakko...@gmail.com on 9 Oct 2010 at 1:57