SimCom GL100 Manual do Utilizador Página 7

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 11
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 6
3) Running the Server
To begin listening for incoming events the server must be started. This section describes the process for manually
starting the eLoc GL100 server, and how to set up the system to have is automatically start the eLoc GL100
server on system reboot.
3.1) Manually Starting the Server
The command for manuall starting the eLoc GL100 server is as follows:
> cd $GTS_HOME
> bin/runserver.pl -s eloc
To start the eLoc GL100 server with debug logging (useful when testing or debugging), the option "-debug" may
be added to the command line.
The server will start, and logging information will be sent to the file "$GTS_HOME/logs/eloc.log".
For debug purposes, it is sometimes useful to have the logging output sent directly to the console, instead of the
log file. In this case the option "-i" can also be added to the command-line. When logging to the console, hit
control-C to stop the server.
To view the running server, you can use the "bin/psjava" command:
> $GTS_HOME/bin/psjava
PID Parent L User Java class/jar
------ ------ - -------- --------------------------------------------------
54639( 1) 1 opengts org.apache.catalina.startup.Bootstrap
68936( 1) 1 opengts /usr/local/GTS_2.2.4-B23/build/lib/eloc.jar
To stop the running eLoc GL100 server, enter the following command:
> cd $GTS_HOME
> bin/runserver.pl -s eloc -kill
This will stop the running eLoc GL100 server.
3.2) Automatically Starting the Server on System Reboot
The auto-start script for Fedora is located at "$GTS_HOME/bin/onboot/fedora/opengts", and should have
been installed into the system directory "/etc/init.d" when the GTS was installed.
This startup script uses the configuration specified in the file "$GTS_HOME/bin/serverList" to determine which
device communication servers to start up when the system is rebooted. The line in this file that refers to the eLoc
GL100 DCS should appear similar to the following:
execServer "eLoc GL100" "eloc" "${option}" ""
The first quoted string contains the DCS description. The second quoted string contains the ID of the device
communication server and must match a library jar file with the same name at
"$GTS_HOME/build/lib/eloc.jar". The third quoted string must contain the exact value "${option}",
which is used within the startup script to pass command-line arguments to the DCS startup code. The forth
quoted string is used to pass other optional default or constant arguments to the DCS startup code.
GTS Enterprise Installation/Configuration Guide Page 7 of 11
Vista de página 6
1 2 3 4 5 6 7 8 9 10 11

Comentários a estes Manuais

Sem comentários