Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

user environment variabledescription

FEWS_WS_CLIENT_CONFIG_FILE_NAME

Name of the client config file as available in the RootConfigFiles folder of the uploaded Delft-FEWS configuration. ClientType has to be: Web Services

FEWS_WS_DATABASE_URL

Database url, e.g.

jdbc:vjdbc:servlet:https://<host>:<port>/FewsDatabaseHttpsProxy
jdbc:postgresql://<host>:<port>/<databaseName>
jdbc:oracle:thin:@<host>:<port>:<sid> or 
jdbc:sqlserver://<host>:<port>;DatabaseName=<databaseName>
FEWS_WS_DATABASE_USERDatabase user name to connect with. The name should not be specified when using AD (Active Directory).
FEWS_WS_DATABASE_ENCRYPTED_PASSWORDEncrypted Database password. The password should be specified when using AD (Active Directory).
FEWS_WS_HOMEOptional. Folder where caches are stored. If not configured, it will be set to the "${catalina.home}/fews/Region_Home".
FEWS_WS_CLIENTCONFIGFILEIDOptional. Name of the client config file from the Delft-FEWS Configuration folder: PiClientConfigFiles. Default is: FewsPiService.properties

An example of configured environment variables.

Code Block
languagexml
titleExample: ENV variables
FEWS_WS_DATABASE_URL=jdbc:postgresql://localhost:6001/fewsdb00
FEWS_WS_DATABASE_USER=fews00
FEWS_WS_DATABASE_ENCRYPTED_PASSWORD=myencryptedpassword
FEWS_WS_CLIENT_CONFIG_FILE_NAME=ws_clientConfig.xml
FEWS_WS_HOME=d:\fews-ws\region-home
FEWS_WS_CLIENTCONFIGFILEID=CustomFewsPiService.properties


The clientConfiguration of type "Web Services".

Take not note in the following example that the clientType is set to "Web Services". Also a global.properties file is required. The configurated property file will be used by the Delft_FEWS configuration.

...