...
user environment variable | description |
---|---|
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_USER | Database user name to connect with. The name is not specified when using AD (Active Directory). |
FEWS_WS_DATABASE_ENCRYPTED_PASSWORD | Encrypted Database password. The password is not specified when using AD (Active Directory).. |
FEWS_WS_HOME | Optional. Folder where caches are stored. If not configured, it will be set to the "${catalina.home}/fews/Region_Home" |
An example of configured environment variables.
...
Code Block | ||||
---|---|---|---|---|
| ||||
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 |
The clientConfiguration
...
of type "Web Services"
...
.
Take not 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.
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <clientConfiguration xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/clientConfig.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.wldelft.nl/fews"> <title>My WebServices Client</title> <clientType>Web Services</clientType> <otherRootConfigFiles> <name>oc_global.properties</name> </otherRootConfigFiles> </clientConfiguration> |
...