Sanav GC-101 Manuel d'installation Page 19

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 60
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 18
Install the created "track.war" file per the Apache Tomcat installation/configuration instructions. Typically, this means
copying the "track.war" file to the directory "$CATALINA_HOME/webapps/.":
/usr/local/OpenGTS_1.2.3> cp build/track.war $CATALINA_HOME/webapps/.
Or, the following "ant" target may also be used:
/usr/local/OpenGTS_1.2.3> ant track.deploy
The above method for deployment assumes that Tomcat is set for 'autoDeploy="true"'. If your changes to not
appear after rebuilding and redeploying the "track.war" file, then it may be necessary to force Tomcat to update the
"track.war" servlet by following these steps:
Stop Tomcat (ie. "$CATALINA_HOME/bin/shutdown.sh")
Delete the existing "track" servlet (ie. "rm -rf $CATALINA_HOME/webapps/track*")
Deploy the new "track" servlet (ie. "cp $GTS_HOME/build/track.war $CATALINA_HOME/webapps/.")
Restart Tomcat (ie. "$CATALINA_HOME/bin/startup.sh")
5.5) Testing the Installation
5.5.a) Secure web access:
Configuration and use of 'https' (ie. SSL) is highly recommended as the URL includes the account password
and will be encrypted via 'https', but will be sent in the clear if plain 'http' is used. Instructions for
configuring Tomcat to support SSL can be found on the Apache Tomcat website.
After building/deploying 'track.war', you should be able to view the login page with a URL similar to the following:
http://localhost:8080/track/Track
(replace "'localhost:8080" with your own domain name where 'track.war' was installed.)
Note that the specification for the URL directory "/track/Track" is case sensitive.
Support for reverse-geocoding (turning a latitude/longitude into an address), using services such as Geonames
(http://geonames.org) and Google, has also been included. Look for the "ReverseGeocodeProvider" tags in the
'private.xml' file for more information.
5.5.b) Browser Compatibility:
The GPS tracking map page in the web interface makes heavy use of JavaScript and HTML formatting.
Firefox v3.X.X, Chrome 8.0.X, and Safari 5.0.X, are the platforms targeted, but it also appears to work fine
(with some minor differences) on Microsoft IE 6.0/7.0/8.0 (some visual anomalies have been reported with
earlier versions of IE). Other browsers have not been fully tested.
5.6) Installing Multiple Versions of "track.war"
The URL for accessing the login page is normally as follows:
http://localhost:8080/track/Track
The name "track" listed above derives it's name from the name for the war file, in this case "track.war". This
means that you can install multiple/different copies of the "track.war" file, as long as the name of the war file is
changed during the copy. For instance, if you copy the "track.war" file to Tomcat as follows:
/usr/local/OpenGTS_1.2.3> cp build/track.war $CATALINA_HOME/webapps/track1.war
Then you could access this installed version with the following URL:
http://localhost:8080/track1/Track
OpenGTS Configuration and Installation Manual Page 19 of 60
Vue de la page 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 59 60

Commentaires sur ces manuels

Pas de commentaire