CallSite Server Installation
 
 

Section: II. D. 4

Starting the CallSite Server

You will now be able to start up the CallSite server. The server uses the configuration file called the 'server.cfg' file for the CallSite Connection server.The server.cfg file is available under the directory '/callsite/server/'.This file contains various parameters concerning the operation of the the CallSite server.

For now, however, you can take advantage of the default configuration files provided with your copy of CallSite, and you will be able to fire up the server and start communicating within minutes.

If you are using or wish to use a JVM other than the one provided with CallSite, refer to the Installing the Java Runtime Environment section. Otherwise, start the CallSite server as instructed below.

Starting the CallSite server

In order to start the CallSite server, you need to go to the directory '/callsite/server/'. There you need to run the script 'run' in the following way:

For Windows:

shell> cd c:\inetpub\wwwroot\callsite\server

shell> run.bat

The server will be started immediately and you will be ready to communicate world wide with your CallSite application. At this point, minimize, do not close, the DOS Window. In order to stop the CallSite server do a 'Control+C'.

For Unix:

shell> cd/usr/mydomain/html/callsite/server

shell> ./run.sh

The server will be started immediately and you will be ready to communicate world wide with your CallSite application. Sometimes, you might need to modify the run script to specify the exact classpath of the Java virtual machine in your server. Typically, a run.sh script looks like this:

/usr/jre1.5/bin/java -Xms8m -Xmx64m -noverify -cp WeMessageServer.jar -Xms8m - Xmx128m WeMessageServer port=36680 httpPort=36681 config=.

At this point, press "Enter", so that the CallSite server does not stop running.

Note: In case, server is behind firewall, you must allow access to ports specified in above line and to ports specified in server.cfg file.