Queclink GL200 Bedienungsanleitung Seite 7

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 11
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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 GL200 server, and how to set up the system to have is automatically start the GL200 server on
system reboot.
3.1) Manually Starting the Server
The command for manuall starting the GL200 server is as follows:
> cd $GTS_HOME
> bin/runserver.pl -s qgl200
To start the GL200 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/qgl200.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/qgl200.jar
To stop the running GL200 server, enter the following command:
> cd $GTS_HOME
> bin/runserver.pl -s qgl200 -kill
This will stop the running GL200 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
GL200 DCS should appear similar to the following:
execServer "Queclink GL200" "qgl200" "${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/qgl200.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 Device Communication Server Guide Page 7 of 11
Seitenansicht 6
1 2 3 4 5 6 7 8 9 10 11

Kommentare zu diesen Handbüchern

Keine Kommentare