next up previous contents
Next: Programming Up: First Steps Previous: Generating class documentation   Contents

Setting up a domain

Kaariboga allows you to set up a domain with several computers connected. All servers can retrieve a list of the servers within the domain from the domain server.
  1. Go to the org/kaariboga/config directory.
  2. Edit the file domainserver.config. Set the port number and the file names for the log files.
  3. Edit the file boga.config. Make shure, that the DomainPlugIn is loaded when the Boga server starts up. Check the lines


    plugIn.1=org.kaariboga.plugins.domainPlugIn.DomainPlugIn
    plugIn.1.configFile=/home/dirk/javalib/kb10101/org/kaariboga/config/domainPlugIn.config

    Set the path of the config file.
  4. Edit the config file for the domain plug-in. Usually this is domainPlugIn.config. Set the IP address and the port of the domain server.
  5. Go to the directory that contains kaariboga.
  6. Start the domainserver with java org.kaariboga.domainserver.Main. You can stop the server by pressing control + c.
  7. Start the Boga server with


    java -Djava.security.manager
    -Djava.security.policy=org/kaariboga/config/kaariboga.policy
    org.kaariboga.server.Boga



    You should see a message like Plug-in Manager: Plug-in loaded: org.kaariboga.plugins.domainPlugIn.DomainPlugIn if the domain plug-in is correctly loaded. The Boga server should register at the domain server.
  8. To test out the number of servers connected load the ServerLister agent by using Boga's File menu.
  9. Try out the HelloDomain agent.

next up previous contents
Next: Programming Up: First Steps Previous: Generating class documentation   Contents
Dirk 2002-09-01