Sanav GC-101 Manual de Instalação Página 45

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 60
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 44
Appendix)
B) Support for Mologogo Capable Phones.
OpenGTS includes the servlet 'mologogo.war' (web-archive) to receive data from Mologogo capable phones
(http://www.mologogo.com) using their "altURL" feature. 'mologogo.war' runs in a Java Servlet container and stores
received data in the SQL DB which can be viewed through the web interface (see 'track.war').
Configuring the "webapp.conf" file:
The default runtime configuration file "webapp.conf" file, and "common.conf" file, are found in the OpenGTS
installation directory. For most installations, the default values specified in this file can be left as-is.
Should you wish to customize this file specific for the "mologogo.war" servlet, then copy this file to the directory
"$GTS_HOME/war/mologogo/WEB-INF/" and modify this copy.
B.1) Compiling/Installing the "mologogo.war" Java Servlet:
To build the "mologogo.war" file, run the Ant build command as follows:
/zzz> cd $GTS_HOME
/usr/local/OpenGTS_1.2.3> ant mologogo
The target "mologogo" is a wrapper for ant targets "mologogo.compile" and "mologogo.war". The target
"mologogo.compile" compiles all necessary classes and configuration files into the build directory
"$GTS_HOME/build/mologogo". The target "mologogo.war" then creates the 'web archive' file
"$GTS_HOME/build/mologogo.war".
Install the "mologogo.war" file per the Apache Tomcat installation/configuration instructions. Typically, this means
copying the "mologogo.war" file to the directory "$CATALINA_HOME/webapps/.".
B.2) Creating the "mologogo" account in OpenGTS:
Use the command line admin tools to create an account called "mologogo" as follows:
/zzz> cd $GTS_HOME
/usr/local/OpenGTS_1.2.3> bin/admin.sh Account -account=mologogo -create
Then, for each phone, create a new device:
/usr/local/OpenGTS_1.2.3> bin/admin.sh Device -account=mologogo -device=mom -create
/usr/local/OpenGTS_1.2.3> bin/admin.sh Device -account=mologogo -device=dad -create
(etc.)
B.2a) Important note regarding ".sh" and ".bat" command files:
Commands ending with ".sh" or ".bat" MUST be executed from the OpenGTS installation directory.
Attempting to execute these commands from another directory may result in a "ClassNotFoundException" or
"NoClassDefFoundError" error, or similar. (This means that you must cd to $GTS_HOME, then execute the
command as "bin/<command>")
B.2b) Important note for Windows users:
When using the ".bat" version of the commands in a DOS window, command arguments such as
-account=smith must either be enclosed in quotes, as in "-account=smith", or be specified with a
colon instead of an equal sign, as in -account:smith .
OpenGTS Configuration and Installation Manual Page 45 of 60
Vista de página 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 59 60

Comentários a estes Manuais

Sem comentários