Contents
News
About
Roadmap
Screenshots
Live Demo
Documentation
Download
Documentation
iCMS interface
Design
Launching
Configuring
JavaDoc iCMS
JavaDoc Luky
JavaDoc WestHawk
SourceForge.net Logo

Launching

You can launch the cmsd and the masterd from the commandline. Simply open a terminal, navigate to the install directory and launch the applications.

Launching cmsd

When launching the cmsd, you must specify some options. Some of these options require configuration files that will be discussed later. e.g.:

java -classpath target/iCMS.jar iCMS/cmsd/cmsd -w -l 6 -o 60000 -d -q -c config/test2.xml -r config/repman.msg

Meaning:
java the runtime interperter e.g. from the JRE
-classpath target/iCMS.jar the jar file containing the application
iCMS/cmsd/cmsd the application to be started
-l 6 (default = 0) the log level
-o 60000 (default = 0) the TCP socket of the cms deamon
-d the display flag for the operational output (default off)
-q the quiet mode flag suppresses debug log to standard output (default off)
-w selects writing of the trapstorage to persistant files
-c config/test2.xml the configuration file used to start cmsd (discussed later)
-r config/repman.msg the trap translations file to be used (discussed later)

Log levels

The system supports the following log levels:

  • level 0 : no logging
  • level 1 : fatal errors
  • level 2 : minor errors
  • level 3 : operational logging
  • level 4 : detailed operational logging
  • level 5 : debug logging
  • level 6 : debug logging with stacktraces

When you try to report a bug, please include a log at at least level 5 or 6 logfile

Launching masterd

When launching the masterd, you must specify some options. Some of these options require configuration files that will be discussed later. e.g.:

java -classpath target/iCMS.jar iCMS/masterd/masterd -l 6 -p 443 -q -c config/masterd.config

Meaning:
java the runtime interperter e.g. from the JRE
-classpath target/iCMS.jar the jar file containing the application
iCMS/masterd/masterd the application to be started
-l 6 (default = 0) the log level
-p 443 (default = 0) the TCP socket of the master deamon
-q the quiet mode flag suppresses debug output (default off)
-c config/masterd.config the configuration file used to start masterd (discussed later)

Launching applets

Guess what, you can just open it in your browser, the embedded html page is described in the chapter about configuring the applets.