Skip to content

Installation: Via WAR file in servlet container

CarstenHollmann edited this page Aug 16, 2021 · 2 revisions

Download

Download the WAR file of the latest release from the releases

Installation/Configuration

Currently, the SensorThings implementation does not provide a graphical installtion wizard as the SOS service. So you have to modify the configuration file application.yml which you find here in the deployed webapp:

/webapps/52n-sensorthings-webapp/WEB-INF/classes/application.yml

Most of the predefined settings can be adopted, only the following settings need to be adjusted:

  • server -> rootURL: Used for response serialization + url parsing, external URL. Must be set correctly!
  • server -> servlet -> context-path: The path of the running STA (name of the applet in the Apache Tomcat).
  • spring -> datasource: Connection infomation to the database
    • username: Database user name
    • password: Database user password
    • url: URL to the database. Last value is the database name
    • jpa -> properties -> hibernate -> hbm2ddl -> auto: If you use the STA together with the SOS, set the setting to none!