Recent Changes - Search:

CONGO

PmWiki

edit SideBar

StartServer

Starting the Server

CONGO uses a standalone process called 'cserver' to service all requests coming from the clients. These requests come to the server in the form of XMLRPC calls to whatever socket the server is listening on.

To start cserver, you'll need to have a JVM available, as well as the command line tool 'ant'. If you're running in Eclipse, these tools are already available. If you're running standalone, you'll need to make sure you download and install Ant from http://ant.apache.org.

Once you have ant available, look for the 'build.xml' file within the CONGO installation directory.

Note, you may need to add your JDK and Ant binary directories to your PATH. You can do this on the command line like this:

 cd "c:\program files\java\jdk(whatever)\bin"
 path=;
 cd "c:\program files\ant\bin"
 path=;

If you're running from the command line, cd to that directory, and type:

 ant run-server

If you're running in eclipse, right click on 'build.xml' and select 'Run as... Ant Build'

If all goes well, you should see CONGO compile and start, showing a status similar to this:

Buildfile: D:\My Documents\easyeclipse\workspace\congo\build.xml
init:
build-server:
build-monitor:
    [javac] Compiling 5 source files to D:\My Documents\easyeclipse\workspace\congo\bin
    [javac] Note: D:\My Documents\easyeclipse\workspace\congo\monitor\ActionHandler.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
build:
init:
build-server:
run-server:
     [java] 0 [main] INFO cserver  - CONGO server initializing.
     [java] 0 [main] INFO cserver  - Server version: 1.6.77
     [java] 16 [main] INFO cserver  - Connecting to database 'congolocal' on localhost
     [java] 78 [main] INFO cserver  - server started on port 8081
     [java] 94 [main] DEBUG status  - handler initialized.
     [java] 110 [main] DEBUG registrants  - handler initialized.
     [java] 110 [main] DEBUG conference  - handler initialized.
     [java] 110 [main] DEBUG proc  - handler initialized.
     [java] 125 [main] DEBUG reports  - handler initialized.
     [java] 125 [main] DEBUG pending  - handler initialized
     [java] 125 [main] DEBUG templates  - handler initialized
     [java] 125 [main] INFO cserver  - Webserver started
     [java] 125 [main] INFO cserver  - CONGO appserver ready.

CONGO is ready to go!

Edit - History - Print - Recent Changes - Search
Page last modified on July 30, 2007, at 08:55 PM