next up previous contents
Next: Debugging Tips Up: Name Server Options and Previous: Name Server Options

System Properties

SALSA programs can be executed with a set of system properties:

-Dport=<port number>: To specify the port number that the automatically started theater will listen to. Otherwise, a random port number is used.
-Didentifier=<id>: To specify the relative locator of the bootstrapping actor's UAL.
-Duan = <uan>: To specify the UAN of the bootstrapping actor.
-Dual= <ual>: To specify the UAL of the bootstrapping actor.
-Dnogc: The local garbage collector will not be triggered
-Dgcverbose: To show the behavior of local GC
-Dnodie: Making a dynamically created theater alive
Here comes the example:
java -Dport = 5050 -Didentifier = actor/hello HelloWorld
A theater is started at the current host (e.g. europa.wcl.cs.rpi.edu). The dynamically created theater listens on port , and the HelloWorld actor has the UAL:
rmsp://europa.wcl.cs.rpi.edu:5050/actor/hello



Wei-Jen Wang
2007-11-28