Document toolboxDocument toolbox

14.1 Starting ServiceGANTT

ServiceGANTT is started by the user, e.g. from a desktop icon. It terminates when that user exits from the ServiceGANTT window.

Note that for ServiceGANTT to run correctly on a PC, the PC must be correctly configured, as described in the ServiceGANTT Pre-requisites; for example, display must be set to 256 colours.

Command Line

The usage message is shown when ServiceGANTT is started with the -h option and is as follows.

OptionsDescription
-d <database connection string>Set the user/database and password.
-u <Final RU>

Set the Final RU to start the application with.

If the argument is omitted then no Final RU is loaded.

-s <server_host>:<host_port_no>Set the host machine and port number of ServiceOptimizer to connect to.
-b <number of days>Specify the number of days to display before today.
-a <number of days>Specify the number of days to display after today.
-hPrint this usage message.

As an example the command line could be: SERVICEGantt -d spower/pass -u North -s spserver:8901 -b 14 -a 60

If an option has not been specified its value is the value used in the last running of the application. If no such value exists the user is prompted for input. Note also that all these options are settable via the logon screen (see reference [5]).

Start-up Requirements

ServiceOptimizer together with the selected FRU process must be running on the server platform. The user must be registered in the ServiceScheduling database (sp085_users).

.spgantt.properties file

This file stores the configuration properties for ServiceGANTT. If it does not exist when the application is run then one is created, with a set of default configurations provided from the server. It will be created in the user's home directory.

If a business would like all ServiceGANTT users to use a common look and feel to their running ServiceGANTT instances then a standard file may be installed onto all user machines prior to installing ServiceGANTT

Log File

To produce a log file add the following line to the .spgantt.properties file.

logFile=%h/ganttTrace.%u.log

A log file named ganttTrace.0.log will appear in the user's home directory (i.e. C:\Documents and Settings\<username>) the next time ServiceGANTT is started. If more than one ServiceGANTT instance is run at once each will have its own file. E.g. the second ServiceGANTT instance will trace to the file ganttTrace.1.log.