Internal Chat

Multiplatform Enterprise Instant Messaging.
Smart. Powerful. Extendable.


Installation::Server

  1. Download the server (IntChatServer-X.Y.Z.zip) package.

  2. Unpack IntChatServer-X.Y.Z.zip into some folder FOLDER (something like c:\IntChat on Windows or /usr/local/IntChat on *NIX). You will find new folder inside: IntChatServer-X.Y.Z.

  3. On Windows edit FOLDER\IntChatServer-X.Y.Z\run.cmd to correct the path to java.exe;
    on *NIX edit FOLDER/IntChatServer-X.Y.Z/run.sh to correct the path to java.

    Important! If you have JDK (not JRE) installed then you possibly can run Java Virtual Machine in "server" mode. This mode is recommended for Internal Chat Server. In order to use it you must add "-server" command line argument, so that command line in startup scripts will look like this (Windows script in the case):

    set JAVA="java.exe"
    %JAVA% -server -jar IntChatServer.jar
    
  4. Open the file FOLDER/IntChatServer-X.Y.Z/conf/Server.xml for editing. You will need to edit at least the following parameters:

    • Database access parameters: DBHost, DBPort, DBName (IC in the case), DBUser (ICUSER in the case), DBPassword (set password that you specified during database setup)

  5. Run run.cmd (on Windows) or run.sh (on *NIX, make sure that EXECUTE file system attribute is set for this file) - the server should start. You can examine its logs in FOLDER/IntChatServer-X.Y.Z/logs to make sure that everything is working properly.

Useful tips

You can set alternative configuration file or logfile to use. Internal Chat Server understands two custom system properties:

  • intchatserver.conffile
  • intchatserver.logfile

If you want your Internal Chat Server will use the configuration file other than the default one (FOLDER/IntChatServer-X.Y.Z/conf/Server.xml), add the following command line argument to the startup line of your run.cmd or run.sh scripts:

-Dintchatserver.conffile=PATH_TO_YOUR_CONFIGURATION_FILE

To use the alternative log file add the following:

-Dintchatserver.logfile=PATH_TO_YOUR_LOG_FILE
SourceForge.net Logo

(C) 2007-2011 Andrew Orlov